To enable a multi-tenant one-on-one bot in Microsoft Teams, you need to ensure that your Azure Bot is configured correctly to support multi-tenancy. Here are the steps you should follow:
- App Registration: Ensure that your app registration in Azure is set to multi-tenant. This is crucial as it allows users from different tenants to access your bot.
- Azure Bot Configuration: When creating the Azure Bot, you need to select the appropriate type. The Multi-Tenant bot type is deprecated, so you should use either Single Tenant or User-Assigned Managed Identity. However, if you want your bot to work across multiple tenants, you should ensure that the app registration allows for this by selecting the option for Accounts in any organizational directory (Multi Tenant).
- Validation: If you are encountering validation errors, double-check that the Azure Bot is linked correctly to the multi-tenant app registration. The bot must be able to authenticate users from different tenants.
- Testing: After making these changes, test the bot in a developer tenant to ensure that it can handle one-on-one chats across different tenants.
By following these steps, you should be able to enable a multi-tenant one-on-one bot in Microsoft Teams successfully.
References: