Integrate your Self-configured bot with single Microsoft Teams tenant

Integrate multiple ServiceNow instances with a single Microsoft Teams tenant by creating multiple bots on the Microsoft Teams tenant. Use your ServiceNow Virtual Agent application, which supports multiple bots on a single Microsoft Teams tenant, to install Conversational Integration with Microsoft Teams application.

Before you begin

Role required: virtual_agent_admin or admin and Microsoft Teams Tenant admin

This installation requires a ServiceNow instance other than the one integrated with the production bot to integrate with one bot (of the multiple bots) on a single Microsoft Teams tenant.
Note: The ServiceNow instance that you will use to integrate with a single Microsoft Teams tenant must not be an instance that you have used for installing Conversational Integration with Microsoft Teams in the primary method where you can integrate only one ServiceNow instance with one tenant.

Ensure that you created a bot on the Microsoft Teams tenant for each ServiceNow instance to be integrated. For more information, see Create a Bot in Microsoft Teams.

Procedure

  1. Fetch the Tenant ID, Client ID (App ID), Client Secret, and Bot Name details for your bot created in Microsoft Teams.
    For more information, see Retrieve bot details.
    Note: Use this information when setting up the bot in your ServiceNow instance.
  2. As a ServiceNow admin, set up the bot on the ServiceNow instance in the global scope.
    Note: The virtual_agent_admin can install bots with multiple instances or bots apart from production in the ServiceNow instance and avail all the features of Virtual Agent and the flexibility to integrate one of the multiple ServiceNow instances with a bot on a single Microsoft Teams tenant.
    1. Log in to your ServiceNow instance (secondary instance for integrating with a bot on single Microsoft Teams tenant) and navigate to All > Conversational Interfaces > Settings.
    2. In General Settings under Channels and integrations, click View All.
      The Channels and integrations page opens.
    3. Under the Available Channels section in the Microsoft Teams tile, click Add Integrations.
      Note: The Add Integrations drop-down is available only after installing the Conversational Integration with Microsoft Teams plugin (sn_va_teams) on your ServiceNow instance.
      Microsoft Teams Add Integrations options. The Integrate with Self-configured bot option is selected.
    4. From the Add Integrations drop-down, select Integrate with Self-configured bot.
    5. In the Integrate Microsoft Teams with self-configured bot page, provide the Name of the bot, Tenant ID, Client ID (App ID), and Client Secret that you made a note while creating the Microsoft Teams bot and click Submit.
      Figure 1. Integrate Microsoft Teams with self-configured bot
      Integrate Microsoft Teams with self-configured bot window in Conversational integrations Channels and integrations settings.
      Note: For each additional bot to be integrated, repeat steps 1 and 2.

      If you would like to integrate your ServiceNow instance with another Microsoft Teams bot, click the Add integration for Self-configured bot icon against the Self-configured bot or click the Add integration drop-down on the Manage Microsoft Teams channel page and select Integrate with Self-configured bot.Manage Microsoft Teams channel in Conversational Interfaces general settings. The Add integration for Self-configured bot button and Integrate with Self-configured bot option in the Add integration dropdown are highlighted.

      User receives a message that the installation is successful.

What to do next