5

We are using OAuth 2.0 client credentials flow for admin authentication. We are using this API to regenerate the admin oauth token. But we are getting the below error for a user when generating the token after token becomes invalid. Can you please advise on this?

{"error":"unauthorized_client","error_description":"AADSTS7000112: Application 'xxxxxxxxxxxxxxxxxx'(<app-name>) is disabled.\r\nTrace ID: ec4b3557-143a-4020-9651-5cdaf0f83900\r\nCorrelation ID: 97a\r\nTimestamp: 2022-04-28 00:3sdew34fdddddddddd7:47Z","error_codes":[7000112],"timestamp":"2022-04-28 00:37:47Z","trace_id":"ec4b3557-143a-4020-9651-5cdaf0f83900","correlation_id":"9e5ewferferfge753476fergerf97a"}

karthik
  • 191
  • 3

1 Answers1

0

It means your Graph application is either not installed or is disabled for that particular Exchange tenant. Make sure it is property registered - start at https://learn.microsoft.com/en-us/graph/auth-register-app-v2

Dmitry Streblechenko
  • 62,942
  • 4
  • 53
  • 78