Search code examples
azurechatbotmicrosoft-teamsazure-bot-service

Azure chat bot in MS Teams


I am trying to build an Azure bot that should be accessible via MS Teams (personal conversation only) in my own organisation and in my client's organisation. The bot does have authentication within our AD, so if someone accesses it from our internal network, it does not prompt for login. I am wondering how it is going to work for the external organisation's MS Teams.

  1. How do I deploy it to their MS Teams
  2. What are the authentication options?

Solution

  • Here are your options for limiting bot usage in specified tenants:

    1. Bots for limited tenants
    2. Microsoft Teams authentication flow for bots

      Note: Make sure to use Use common instead of hard coding {tenant} name in the login URL.

    For deployment, have a look at Publish apps to the Microsoft Teams Tenant Apps Catalog documentation.