Hi there,
We are developing a new Bot for notifications from our website.
We are using the Proactive Installation flow. The flow works when we use our old, published App, but when I switch to the App we are building, which is published to our org, I get error below.
If I switch to the Bot id and secret of our published app, everything works fine, the App is installed for the User and I can get a conversation_id
.
Any ideas?
Thank you very much.
Request to: https://login.microsoftonline.com/botframework.com/oauth2/v2.0/token
{
"error"=>"unauthorized_client",
"error_description"=>"AADSTS700016: Application with identifier '205ed844-0739-4830-a8b8-4b3be06a4845' 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. Trace ID: f4c80488-d166-41a5-a3af-14c5a0131900 Correlation ID: 6ed56390-d871-4e9e-bd26-18a95ea75484 Timestamp: 2024-04-29 21: 57: 57Z",
"error_codes"=>[
700016
],
"timestamp"=>"2024-04-29 21: 57: 57Z",
"trace_id"=>"f4c80488-d166-41a5-a3af-14c5a0131900",
"correlation_id"=>"6ed56390-d871-4e9e-bd26-18a95ea75484",
"error_uri"=>"https: //login.microsoftonline.com/error?code=700016"
}