You can browse the Internet and open OWA successfully using Internet Explorer (IE) but you cannot connect to Office 365 using PowerShell.
To fix this, we set Windows Proxy settings using NETSH for all applications that rely on default system configuration.
Instructions
In this context, importing the IE Proxy settings is necessary for GSX Gizmo to perform EWS or ActiveSync scenarios as PowerShell needs to access the Internet through the configured Proxy.
We will run Command Prompt to issue a Netsh command to import your proxy settings:
- Open Command Prompt as administrator.
- Type netsh winhttp import proxy source=ie
- Press Enter.
Some Group Policies may apply on domain joined computer and reset the proxy settings. Please update or disable Group Policy settings to match your configuration needs.
Use the command below in case the proxy settings import needs to be rolled-back:
- Open Command Prompt as administrator.
- Type netsh winhttp reset proxy
- Press Enter.