When enabling Microsoft Office 365 API integration by clicking on Authenticate with Microsoft Office 365, the following error appears:
503 Service Unavailable.
- Microsoft Office 365
- Provisioning
This error is generated because "Microsoft Tenant Name" is missing in Applications > Microsoft Office 365 > General tab.
- Open an incognito browser window and log in to the Okta tenant.
- Go to Okta Admin Console, navigate to Applications > Microsoft Office 365 > General > click Edit > enter the correct Microsoft tenant name, and save the change.
- For example, if the Microsoft tenant is acme.onmicrosoft.com, enter: acme.
- Then navigate to Office 365 > Provisioning > Integration > check Enable API Integration.
- Click Authenticate with Microsoft Office 365. The admin is redirected to the Microsoft Azure login page.
- Log in to the Microsoft Azure account.
- Read and accept the requested permissions.
- Upon accepting the scopes in the Microsoft Azure portal, the admin will be redirected back to Okta.
- Enter the Office 365 Global Administrator credentials.
- Click Test API Credentials.
- A message confirming successful authentication will appear, and then click Save.
