<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
System Status
Announcements
Announcements
Search
Search
Select Language
0D5WR00001rC1Uq0AKOkta Classic EngineIntegrationsAnswered2026-07-10T15:10:34.000Z2026-07-07T14:33:42.000Z2026-07-10T15:10:34.000Z

EwanM.09797 (Customer) asked a question.

M365 integration fails with UNEXPECTED_ERROR, provisioning URL does not load

Hey there

 

We are configuring provisioning from Okta into Entra using the Microsoft 365 app from the okta gallery. When I save the provisioning settings I get an error UNEXPECTED_ERROR

 

In the logs I see this over and over:

Unable to enable Office 365 directory sync for the company, received error: javax.xml.ws.WebServiceException: java.lang.RuntimeException: Invalid URL=https://provisioningapi.microsoftonline.com/ProvisioningWebService.svc

FAILURE:

 

This URL doesn't load at all for me or for anyone else as far as I know. This doesn't appear to be an issue with my config but more fundamental to the okta M365 app.

 

Does anyone know where I can go from here?

 

PS I found some articles in the KB about the headline error, but they had different log entries underneath.


Loading
M365 integration fails with UNEXPECTED_ERROR, provisioning URL does not load
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply