Forum Discussion
Bot creation failed
Hello integrationsn, This error means the Teams Developer Portal is trying to create a bot registration (service principal) in your tenant, but the backing Azure AD application is not in your local tenant. Microsoft recently tightened tenant restrictions for bot creation.
Previously, the Developer Portal allowed bot registrations even if the backing Azure AD app was not in the same tenant. This behavior has now changed — Microsoft requires the app to be created and registered within the same tenant where the bot is being deployed.
I have the same experience as the above mentioned. I have created my initial application via Azure, and then with the same account via the Developers' portal in Teams, I am trying to create this additional bot application for one of my tabs in the initial application. If I check them in Azure, I could see the newly created bot application, but I can't select via the Developers' portal in Teams. My understanding all this is happening in the same tenant.