An Azure service that provides an integrated environment for bot development.
Hello @Neelu George
Thank you for reaching out to Microsoft Q&A.
Switching an existing production Teams bot from Multi-tenant to Single-tenant is not just a cosmetic change in Azure it impacts authentication flow, token issuance, and tenant consent behavior in Microsoft Entra ID.
Below is a consolidated response based on the supported bot configuration model.
1. Is switching the type in Azure Portal enough?
No, this is not sufficient by itself.
For Azure Bot / Teams bot authentication, the effective behavior depends on multiple configuration parameters, not just the portal toggle.
Key configuration values involved:
-
MicrosoftAppType(MultiTenant vs SingleTenant) -
MicrosoftAppId -
MicrosoftAppPassword -
MicrosoftAppTenantId(required only for SingleTenant)
For Single-tenant mode, you must also ensure:
- A Single-tenant Entra ID app registration exists
-
MicrosoftAppTenantIdis explicitly set - Bot registration and backend configuration are aligned with SingleTenant mode
Switching only the portal setting without aligning app registration + bot configuration is not a complete or supported migration by itself.
2. Will existing customers be affected?
Yes, there can be impact depending on authentication flow and token lifecycle.
Expected behavior:
Existing tenants already using the bot:
- May continue working temporarily due to cached sessions/tokens
- But behavior is not guaranteed long-term
After switching to Single-tenant:
- Tokens issued for other tenants may fail validation
- Possible issues:
- 401 Unauthorized
- consent failures
- sign-in interruption in Teams
In many cases, users may need to:
- Re-consent to the application
- Re-login in Teams
- Re-establish bot conversation sessions
Impact depends heavily on how your OAuth and bot authentication flow is implemented.
3. Is this the standard migration approach?
No, in-place conversion is not the recommended migration strategy.
The commonly recommended approach is:
Standard migration pattern:
- Create a new Single-tenant app registration in Microsoft Entra ID
- Configure bot with SingleTenant settings
- Update
MicrosoftAppTenantIdand related configuration - Deploy and validate in parallel
- Gradually migrate tenants/users
- Decommission MultiTenant app after validation
This avoids breaking existing multi-tenant trust relationships and minimizes production risk.
4. How long do changes take to take effect?
There is no fixed propagation SLA documented.
Practical behavior:
Azure portal change: immediate
Token issuance changes: typically within minutes
Teams client impact Can range from minutes to several hours due to:
- cached tokens
- active sessions
- refresh token lifecycle
Existing sessions may continue until token refresh or re-authentication occurs.
Please refer this
Provision and publish a bot (application service settings / MicrosoftAppType values): https://learn.microsoft.com/en-us/azure/bot-service/provision-and-publish-a-bot?view=azure-bot-service-4.0&wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider&tabs=userassigned%2Ccsharp#update-project-configuration-settings
Convert an existing skill from multitenant to single-tenant (standard migration steps + required values): https://learn.microsoft.com/en-us/azure/bot-service/skill-pva-convert-skill-single-tenant?view=azure-bot-service-4.0&wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider
Manage a bot (application service settings / MicrosoftAppType values and deprecation note for new multi-tenant bot creation): https://learn.microsoft.com/en-us/azure/bot-service/bot-service-manage-overview?view=azure-bot-service-4.0&wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider&tabs=userassigned#application-service-settings
Use the Azure portal to Create an Azure Bot resource (Multi-tenant creation deprecation note + where to find App ID/Tenant ID):https://learn.microsoft.com/en-us/azure/bot-service/abs-quickstart?view=azure-bot-service-4.0&wt.mc_id=knowledgesearch_inproduct_azure-cxp-community-insider&tabs=userassigned
I Hope this helps. Do let me know if you have any further queries.
If this answers your query, please do click Accept Answer and Yes for was this answer helpful.
Thank you!