$proxyOption = New-PSSessionOption -ProxyAccessType IEConfig -ProxyAuthentication basic.Note that this information showcases the steps needed to establish a connection, while the below is used to introduce additional parameters/variables, allowing you to work with an Outbound Internet Authenticating Proxy. In order to use the above information, which are commands to connect into Exchange Online 365, you will need to connect via PowerShell to EXO365. This will configure your PowerShell connection to go through your Oubound Internet Proxy server and provide the needed authentication to access your Online Tenant.Īs you can see in the first bullet point, the $proxyOption is pulling your Outbound Internet Proxy settings from your Internet Explorer configuration, citing Basic authentication to be used during the connect. Set the proxyaccesstype and proxyauthentication to the new-pssession variable and then pass the parameter to the new-pssession for connecting to the tenant. If you are using an Outbound Internet Proxy Server which requires authentication in order to access the internet, you can use the following approach within your PowerShell commands to properly authentication and establish your connect, to either MSODS or EXO365: PowerShell Example Working in Office 365 with PowerShell gives you the option to manage your Online Tenant in a variety of ways, such as the Microsoft Online Directory Services (MSODS), working with users and security groups and Exchange Online (EXO365) for mailboxes, contacts and distribution groups.
Connecting into Office 365 through Outbound Internet Authenticating Proxy