Microsoft Office 365 Push Group or Import fails with the following error visible in the Okta dashboard:
Import Error: Login failed with org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://login.microsoftonline.com/common/oauth2/token": cannot retry due to server authentication, in streaming mode;
- Microsoft Office 365
- Provisioning
- Group Push
- Import
- Error
This error appears because the Office 365 Global Administrator credentials for creating the API connection are invalid.
- Go to the Okta Admin Console, navigate to Applications > Applications > Office 365 > Provisioning > Integration, and click Edit.
- Click Re-authenticate with Microsoft Office 365. The Microsoft Azure login page appears.
- Log into the Microsoft Azure account.
- Read and accept the requested permissions.
- Upon accepting the scopes in the Microsoft Azure portal, the page is redirected back to Okta.
- A message confirming successful authentication is generated. Click Save.
- Then navigate to Office 365 > Push Groups or Import, and attempt again.
