Failed to obtain access token

Hey there,

I have created Azure AD tenant and registered application by following same steps which provided here:

I’m not sure if I’m missing anything, but whenever I try to check my connection through auth0 dashboard only, it gives me following error:

{
  "error": "invalid_request",
  "error_description": "failed to obtain access token"
}

Please suggest me if I’m making any mistake.
Thanks

Hey @development2 ,

The docs you have linked are for Microsoft tenant configuration, not Auth0.
Can you please let me know if you are trying to configure an Azure AD connection on the Auth0 side?
and which Auth0 specific doc are you referring to?

Regards,
Sid

1 Like

Hey @sidharth.chaudhary - I can confirm that I see the same error after following your official guide - Connect Apps to Microsoft

I have double-checked all the steps and even recreated a new tenant/application in Azure. Nothing helps. Is there an issue at your end?

Thanks,
Hana

Hey @unamashana , We do not have any reported issues at the moment.
Are you getting the same error?

 {
  "error": "invalid_request",
  "error_description": "failed to obtain access token"
}

If possible can you please DM me a HAR file of your login for further review?
Method to get HAR File : Generate and Analyze HAR Files

Regards,
Sid

1 Like

Sent! Thanks for your help.

Hey @unamashana , Have replied you with the exact error on the backend.
Are you working on a Microsoft enterprise connection or Microsoft social?

Regards,
Sidharth

Thanks, Sidharth. Your messaged helped me find the root issue, which was

Make sure you have copied client secret value and not the client secret ID.

3 Likes

Glad it’s working for you now!