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 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 Publish tab on the left navigation pane
 
Step 2
 
Click on Publish button to publish the latest topics and content available in your bot to end-users.
 
 
Once you click on the Publish button, the publishing process will get started and the process will check if any errors in topics or content.
 
 
If there are no errors, then publishing process will get completed successfully.
 
 
Now, the latest content has been published successfully. The latest content will be available in next 15 minutes in 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 Microsoft Teams admin center. Here are the steps to be followed
 
App permission policies control which an 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 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.
 
 
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.
 
 
When you turn on Team settings, it takes a couple of minutes to redirect to the admin approval screen.
 
 
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.
 
 
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.
 
 
Step 4
 
As a Global Admin or Team Service Admin, log in to 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.
 
 
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
 
 
Now your Power Virtual Agent Bot will be successfully published to the Teams App Store. Navigate to team’s app store and click on your bot.
 
 
Start your conversation with the bot 😊
 
 

Conclusion

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


Similar Articles