A cloud-based identity and access management service for securing user authentication and resource access
Hi @Andy Paciocco,
Thank you for posting your query on Microsoft Q&A.
As we understand, you are configuring SCIM provisioning in Microsoft Entra ID for a non-gallery application using the OAuth2 Client Credentials grant, but your token server is rejecting the request because Entra's provisioning service sends both a Basic Authorization header and client credentials in the request body, resulting in "Multiple client credentials cannot be specified" errors. This does not occur with Postman when you use only one authentication method.
This is because Microsoft Entra SCIM provisioning’s OAuth2 Client Credentials flow, as implemented, always sends both:
- the Authorization: Basic <base64(client_id:client_secret)> HTTP header and
- the client_id and client_secret in the body as per form encoding.
Many standards-compliant OAuth2 servers (such as those enforced by your organization) expect only one client credential method and will reject requests that include both.
Please follow the steps below to solve the issue:
1. Use the Azure AD Connect Provisioning Agent (On-Premises SCIM Agent):
- Deploy the agent on a VM in your environment.
- Configure your on-premises SCIM application connection through the agent in the Entra portal.
- This method avoids the dual-authentication issue and uses only a Bearer token for authentication.
2. Check and Monitor for Microsoft Updates:
- Microsoft is aware that strict token endpoints may reject dual authentication, and this behavior could change as the product evolves.
3. Workarounds If Using Cloud Provisioning Is Required:
- If you must use Entra’s built-in cloud-based provisioning, confirm if your token server can be configured to accept both credentials, even if this is not standards-compliant (some servers have a flag for lenient authentication parsing).
- Alternately, if supported, create a simple proxy/middleware that removes either the Basic header or the body credentials, but this introduces additional complexity.
Please refer to:
· Install the Microsoft Entra provisioning agent
Please "Accept as Answer" if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.