Atlassian

How to Fix MO_OAUTH_ERROR_00007 when using Microsoft Azure AD?

23 views June 3, 2025 0

Error Details:

  • Error Code: MO_OAUTH_ERROR_00007
  • Message: Error with the AccessTokenEndpoint || Invalid or unreachable authorization/token endpoint

Solution: Configure Microsoft as a Custom OpenID Provider

This error commonly occurs when Azure AD is not set up with the correct token endpoint. To fix this, set up Azure AD as a Custom OpenID Provider in the plugin instead of using the default Microsoft configuration.

Steps to Configure:

  1. Go to the Configured Providers section in the plugin.
  2. Add a new provider or edit the existing one.
  3. Select "Custom OpenID Provider" as the provider type.
  4. Manually enter the following endpoints:
    • Authorization Endpoint
    • Access Token Endpoint
    • User Info Endpoint
    • Logout Endpoint (optional)
  5. Enter your Client ID, Client Secret, and other required fields.
  6. Save the configuration and test using the Test Configuration button.

Why Use Custom OpenID?

  • Standard Azure AD settings may assume default endpoints.
  • Custom OpenID lets you override those assumptions for:
    • Non-default tenants
    • Custom authorization servers
    • Government or B2C environments
    • Different domain structures

Was this helpful?


Hello there!

Need Help? We are right here!

support