8.19 Driver Fails to Connect to Office 365 due to the MS Exchange License Issues

Explanation: When you are configuring the Azure AD driver with Office 365, fatal connectivity errors are encountered due to issues of MS Exchange Licenses. The error message is shown below:

<status level="fatal">Error Connecting to Office365. [ps.outlook.com] Connecting to remote server ps.outlook.com failed with the following error message : The WinRM client received an HTTP status code of 403 from the remote WS-Management service. For more information, see the about_Remote_Troubleshooting Help topic.</status> <init-params event-id="write-state">

Possible cause: Certain issues with MS Exchange Licenses cause the driver to fail to connect and shuts down automatically.

Solution: You must configure the driver with an Azure account which has the Global Administrator role, and the appropriate subscriptions and licenses associated with it.