I am trying to get access_token using the following url. I get an access token some times and a lot of requests are failing with the following error. I tired it from a Rest client (Postman) and I am executing the same request and I see mixed results. Any help is greatly appreciated. Thanks!
https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token
{
"error": "unauthorized_client",
"error_description": "AADSTS700016: Application with identifier 'e2843012-xxxx-xxxx-xxxx-xxxxxxxxxxx' was not found in the directory 'Bot Framework'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.\r\nTrace ID: 9378ecca-3bd1-4c4e-b14a-88bb036b0101\r\nCorrelation ID: d93293e4-1027-4dd5-8e76-cccf7513ea88\r\nTimestamp: 2021-09-29 17:30:51Z",
"error_codes": [
700016
],
"timestamp": "2021-09-29 17:30:51Z",
"trace_id": "9378ecca-3bd1-4c4e-b14a-88bb036b0101",
"correlation_id": "d93293e4-1027-4dd5-8e76-cccf7513ea88",
"error_uri": "https://login.microsoftonline.com/error?code=700016"
}