Build a bot with SSO authentication

Conversational bots in Microsoft Teams perform repetitive automated tasks initiated by users, such as customer service. The user needs to sign in multiple times without single sign-on (SSO) authentication. With SSO authentication methods, the users don't need to sign in to the bot multiple times.

A bot behaves differently depending on the conversation it's involved in:

  • Bots in channel and group chat conversations require the users to @mention the bot.
  • Bots in a one-to-one conversation don't require an @mention. All messages sent by the user routes to the bot.

This step-by-step guide helps you to build a bot with SSO authentication. You'll see the following output:

 Screenshot of the bot with SSO authentication output after you’ve successfully completed the step-by-step guide.