Unable to call Microsoft Graph API with Auth0

G9000 5 Reputation points
2024-10-04T05:25:30.41+00:00

Hi I'm following this document by Auth0
https://auth0.com/docs/authenticate/identity-providers/enterprise-identity-providers/azure-active-directory/v2

to establish a connection between Auth0 and Microsoft Azure Directory. From our understanding, we should be able to query Microsoft Graph API with our Auth0 Token provided that we configure it correctly. I can see that successful login on both Auth0 and Microsoft Application sign-in logs. But currently, we are getting the following error if I were to call graph API:

"code": "InvalidAuthenticationToken",

"message": "Signing key is invalid.",

"innerError": {

  "date": "2024-10-04T04:29:24",

  "request-id": "cb0a6894-3b78-4833-b330-1fa691846255",

  "client-request-id": "cb0a6894-3b78-4833-b330-1fa691846255"

}

スクリーンショット 2024-10-04 131645

スクリーンショット 2024-10-04 132102

スクリーンショット 2024-10-04 131632

Windows for business Windows Client for IT Pros Directory services Active Directory
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-10-04T07:23:11.9133333+00:00

    Hello G9000,

    Thank you for reaching out to Microsoft Support!

    The error message for your key is invalid, please check your client ID, client secret is expired, is correct, as shown below:

    User's image

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.