Integration using JWT

mansigoel
Tera Contributor

I have created JWT key, provider and  certificate (attached Jks file) and an application registry. But still for some reason I am getting this error while invoking the rest message : 

 

 

OAuth flow failed. Verify the configurations and try again. Error detail:invalid_client, AADSTS700027: The certificate with identifier used to sign the client assertion is not registered on application. [Reason - The key was not found., Please visit the Azure Portal, Graph Explorer or directly use MS Graph to see configured keys for app Id 'a5a7810e-e359-47dd-ac25-b3373fdfea89'. Review the documentation at https://docs.microsoft.com/en-us/graph/deployments to determine the corresponding service endpoint and https://docs.microsoft.com/en-us/graph/api/application-get?view=graph-rest-1.0&tabs=http to build a query request URL, such as 'https://graph.microsoft.com/beta/applications/a5a7810e-e359-47dd-ac25-b3373fdfea89']. Trace ID: e9182195-b8de-4358-bde3-4d9779fe6400 Correlation ID: 4cd50490-bbab-4532-870f-6359e80ed9f8 Timestamp: 2026-04-22 10:37:34Z, https://login.microsoftonline.com/error?code=700027

 

 

mansigoel_0-1776861207368.png

mansigoel_1-1776861215760.png

Can someone help?

1 REPLY 1

Tanushree Maiti
Mega Patron

Hi @mansigoel ,

 

Its not Servicenow end issue. Share the Error code and details with Azure team and ask them to share correct Client id and secret.

 

Refer: https://www.servicenow.com/community/workflow-automation-forum/sharepoint-online-spoke-error-fetchin...

 

https://learn.microsoft.com/en-us/answers/questions/2280615/how-to-resolve-error-aadsts700027-the-ce...

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: