Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello!
I am creating a bot using Node.js on VSCode, I also used ngrok. It receives the messages since on the ngrok terminal I get this when I send a message to the bot on Teams:
13:34:00.020 CEST POST /api/messages 200 OK
I have the API permissions granted and all the other requested requirements
but the bot does not respond, and on the VSCode terminal I got this error:
errorCode: 'unauthorized_client',
errorMessage: "Error(s): 700016 - Timestamp: 2025-08-19 11:34:01Z - Description: AADSTS700016: Application with identifier 'e6b1491a-e58d-4f65-a65a-1cfe7ae659ed' was not found in the directory 'd6d49420-f39b-4df7-a1dc-d59a935871db'. 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. Trace ID: a5ec2324-7532-49a6-a675-a427b4db4701 Correlation ID: 1974c287-589f-49a5-ae74-86d2e194ee79 Timestamp: 2025-08-19 11:34:01Z - Correlation ID: 1974c287-589f-49a5-ae74-86d2e194ee79 - Trace ID: a5ec2324-7532-49a6-a675-a427b4db4701",
subError: '',
errorNo: 700016,
status: 400,
correlationId: '1974c287-589f-49a5-ae74-86d2e194ee79'
}