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"}