The admin reporting the Office 365 provisioning task failed with the below provisioning error starting in late March 2025.
Unable to read Office 365 directory sync for the company, received error: com.microsoftonline.provisioning.IProvisioningWebServiceMsolConnectInternalServiceExceptionFaultFaultMessage: Could not load file or assembly 'Microsoft.IdentityModel.Protocols.SignedHttpRequest, Version=8.0.2.0, Culture=neutral, PublicKeyToken={PUBLIC_KEY_TOKEN_ID}' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040), user: {O365_APP_USERNAME}
- Microsoft Office 365 Provisioning
- Okta Integration Network (OIN)
- Microsoft retiring MSOnline feature starting in late March 2025
- Okta customer who has not yet completed the recommended Okta Admin action: Update Office 365 Applications with Provisioning to Support Microsoft Graph
This O365 provisioning issue is caused by ongoing MSOnline PowerShell deprecation on customers' Microsoft platforms. This causes Okta to be unable to reach the MSOnline endpoint during the Microsoft Office 365 provisioning task.
For full details, please read the Microsoft Announcement post and contact the Microsoft Support team for additional clarification.
To avoid/remedy the Okta O365 provisioning error, please follow the below steps:
- Apply the Knowledge Base's solution to all of the impacted Okta O365 app instances with provisioning enabled.
- Navigate to Okta Admin Console > Dashboard > Tasks > and retry the failed O365 provisioning/app assignment task with the mentioned error.
