Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Azure oauth integration using certificate

jakejeon
Tera Contributor

We need to change the existing authentication method between Azure and ServiceNow from Client Secret to Certificate-based authentication. After reviewing several guides, I have configured the settings as follows:

  1. X.509 Certificate uploaded
  2. JWT keys created
  3. JWT provider created
  4. Application registry created
  5. REST message created for testing OAuth

However, when I click the Get OAuth Token button, I encounter the following error. It seems to be asking for additional information, but how can I include that information in the request body? I’ve searched various sources online but haven’t been able to find an answer.

Error Message from Azure:

OAuth flow failed. Verify the configurations and try again. Error detail:invalid_request, AADSTS900144: The request body must contain the following parameter: 'requested_token_use'. Trace ID: 5e0d18d2-61a1-439a-8b55-34a59f584d00 Correlation ID: c578214a-47cf-4d40-81af-8e293fbd7b7c Timestamp: 2025-11-20 02:17:53Z

0 REPLIES 0