Hello,
Welcome to Microsoft Q&A,
Based on your description, I understand that you want to develop and deploy a bot app for multi-tenants in the Microsoft 365 environment.
However, I strongly recommend using a single-tenant bot and allowing other tenants to access it by publishing the bot through the Teams App Store, rather than trying to build a multi-tenant bot. Here are the reasons why:
Based on this document - Register a Bot Framework bot with Azure - Bot Service | Microsoft Learn:
- Multi-tenant bot creation was deprecated on July 31, 2025.
- Existing multi-tenant bots will continue to function, but new multi-tenant bot creation will no longer be supported after that date.
- To ensure continued support, use a single-tenant or user-assigned managed identity going forward.
Therefore, implementing a multi-tenant bot at this point is no longer possible or an optimal solution in the long run.
Instead, as mentioned earlier, you can focus on building your bot within a single-tenant Azure AD environment and then publish it to the Teams App Store. Once published, other tenants can install and deploy the bot directly from the store. This approach aligns with Microsoft’s long-term roadmap and ensures your bot remains compliant, scalable, and accessible across organizations.
Please Upvote and accept the answer if it helps!!