Power Virtual Agent Publishing And Integration With MS Teams

Overview

In this article, we will learn how to publish the Power Virtual Agent to MS Teams and Integrate the Power Virtual Agent Bot with MS Team. With Power Virtual Agents, we can publish bots to engage with our customers on multiple platforms or channels. These include websites, mobile apps, and messaging platforms like Microsoft Teams. In order to Integrate Bot with MS Teams, we will follow the below two key concepts:

  1. Publishing Bot
  2. Integration with MS Team

We will go through the two key concepts in detail.

Publishing Bot

Once you’ve created a Power Virtual Agent Bot, you need to publish it before your customers or end-users can interact with it. Here are the steps required to publish your Bot.

Step 1. Go to the Publish tab on the left navigation pane.

Step 2. Click on the Publish button to publish the latest topics and content available in your bot to end-users.

Publish button

Once you click on the Publish button, the publishing process will get started and the process will check for any errors in topics or content.

Content

If there are no errors, then the publishing process will be completed successfully.

Errors

Now, the latest content has been published successfully. The latest content will be available in the next 15 minutes on multiple channels such as MS Team, Slack, and Facebook if the Bot is already integrated.

The publishing process has been completed and we will see how to integrate it with MS Teams.

Integration with MS team

Before we get started with Integration with MS Team, there are some prerequisites that need to be taken care of. You need to have Team Service Admin or Global Admin permissions to change the App Permission policies in the Microsoft Teams admin center. Here are the steps to be followed

App permission policies control all the apps we want to make available to Teams users in your organization.

Step 1. In the left navigation of the Microsoft Teams admin center, go to Teams apps > Permission policies.

Select the Global (Org-wide) default policy and click on Edit. Select All Allow App from the dropdowns as shown below and click on Save. Once the Global (Org-wide) default policy is saved, it takes a few hours for the change to take effect.

Microsoft team

Step 2. In this step, from the left navigation pane click on Channel under Manage settings, then select Microsoft Team from the list of available channels and Turn on Team settings.

Turn on Team

When you turn on Team settings, it takes a couple of minutes to redirect to the admin approval screen.

 Team settings

Step 3. Click on Edit Details to change the bot's icon, color, and descriptions. These will be shown in the search results in the Microsoft Teams app store. Then click on the Submit for Admin approval and the request will be pending in status for approval.

 Edit Details

Once you click on Submit for Admin Approval, you will be redirected to a window where we can see the current status as waiting for admin approval.

Admin Approval

Step 4. As a Global Admin or Team Service Admin, log in to the Microsoft Teams Admin center to approve the request.

Navigate to Manage Apps from Teams App from the left navigation and Search for your bot name in the search box. Click on the Bot name to open the Publishing prompt.

Search box

Click on the bot name highlighted to open the Publishing prompt as shown below and select the Publish option to Publish the bot to the Teams Store.

Publish option

Now your Power Virtual Agent Bot will be successfully published to the Teams App Store. Navigate to the team’s app store and click on your bot.

Teams App

Start your conversation with the bot.

IT Support

Conclusion

This is how we can Publish and Integrate Power Virtual Agent Bot into Teams. I hope that this article helps you!


Similar Articles