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.

Service Now Authentication With Azure Getting error need help on Urgent bases.

vineetA60195277
Kilo Contributor

For SSO with Azure AD 
I am using a package called ‘aad_oauth’ from pub.dev.
Url for the package : https://pub.dev/packages/aad_oauth
On the Azure portal created a ServiceNow Enterprise Application with SAML Single sign on.
 
I am successfully getting the access token from the Azure AD authentication but when passing the same token in the ServiceNow GET API as Bearer Token.
 
Getting the below error.
{"error":{"message":"User Not Authenticated","detail":"Required to provide Auth information"},"status":"failure"}
 
401 Unauthrozied

 

Kindly Guide us.

0 REPLIES 0