An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
Hello Dhruvi Kapatel,
AADSTS700016: Application with identifier '717c2fdc-7edb-41eb-bdbd-6a392a378f37' was not found in the directory 'Bot Framework'. You may have sent your authentication request to the wrong tenant.
This typically occurs when the Azure Bot resource is not properly linked to the App Registration in your own tenant, and the token request is falling back to the default Bot Framework tenant instead.
This error happens because the bot’s AppId is not correctly resolved within your tenant, causing it to try authenticating against the Bot Framework tenant instead. Double-check your App Registration, Bot resource configuration, and App Service environment variables to ensure all IDs and secrets align with your tenant.
For reference:
https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-authentication?view=azure-bot-service-4.0&tabs=userassigned%2Caadv2%2Ccsharp
https://learn.microsoft.com/en-us/azure/bot-service/bot-service-manage-overview?view=azure-bot-service-4.0&tabs=userassigned
Threads with similar issue and resolved:
https://learn.microsoft.com/en-us/answers/questions/5491634/aadsts700016-application-with-identifier-x-was-not
https://learn.microsoft.com/en-us/answers/questions/2046326/aadsts700016-application-with-identifier-(id)-was
https://stackoverflow.com/questions/57324634/aadsts700016-application-with-identifier-some-id-was-not-found-in-the-directo
If it helps, please accept the answer and vote to make it useful to other members of the community.