A cloud-based identity and access management service for securing user authentication and resource access
The error indicates that Microsoft Entra ID cannot complete the OAuth code grant to GitHub’s SCIM endpoint because the GitHub application endpoint or tenant configuration isn’t reachable/valid from Entra.
Use the supported SCIM provisioning flow and verify each configuration step:
- In Microsoft Entra admin center, go to Entra ID → Enterprise applications → GitHub (the GitHub Enterprise Cloud app you created).
- Open the Provisioning tab and select + New configuration (or edit the existing one).
- In Tenant URL, enter the correct GitHub SCIM tenant URL exactly as required for the GitHub organization.
- In Secret Token, paste the SCIM token generated from the GitHub organization (must be created with the required admin permissions).
- Select Test Connection:
- When prompted, sign in to GitHub with an account that is an administrator of the target GitHub Enterprise Cloud organization.
- In the authorization dialog, select the correct GitHub organization and then select Authorize.
- If Test Connection fails again, re‑check:
- The Tenant URL format is correct for the organization.
- The Secret Token is valid (regenerate it in GitHub if needed) and pasted without extra spaces.
- The GitHub admin account used in the prompt has the required organization admin rights.
- After a successful Test Connection, select Create to save the configuration, then configure Properties (notification email, accidental deletion prevention) and enable provisioning.
This sequence ensures that Entra can reach the GitHub SCIM endpoint and obtain an access token via the OAuth app, which resolves the “application is not reachable” OAuth Code Grant error when connecting to the GitHub cloud organization URL.
References: