MS Team is getting popular every passing day and with popularity there is demand for MS Team based applications. And most common one is of BOT. Now if you have created a BOT and now you are looking for deployment then this is the blog for you.
Now there are two ways to deploy your BOTs
Deploy your bot in a Team channel
Or deploy as standalone application
Here we will talk about second one, the standalone deployment.
Now again there are two approaches to deploy standalone application
Only add application to the organizations app catalogue, so that user can voluntarily add application in Team.
Second is to push application to a group or to everyone in organization.
We will see both.
To understand deployment process we need a MS Team app package, for the brevity of this blog I will not use any BOT package instead I will use a Power App package.
As the deployment process going to be same so you can apply same process for BOT as well.
I am having a sample Power App - FlooringEstimates. We will deploy this application to MS Teams.
To create a package to deploy on Team. Select your app in Power App web interface and from top menu select “Add to Teams”.
From Add to Teams screen click on Download. This step will give you MS Team compatible package, its a zip file.
This package is same as BOT package, if you will unzip and check, then you will find that it contains same components as of BOT.
So the next process of app deployment is going to be same.
First add your package to your company app catalogue. Got to Microsoft Teams admin center > Teams Apps > Manage apps click on Upload and select your package.
After this step your organization users can add this application voluntarily. For instance you can see in below image, I can see my application in Microsoft Teams > Apps. But I am not using this option.
Now let’s push this application for everyone in your organization. Go back to Microsoft Teams admin center > Teams Apps > Setup policies and create a new policy, lets name it DemoPolicy.
Under "Installed App" click on "Add app" and search your app and add
Now under Pinned apps click on Add apps, add your app and set order and SAVE your policy
Now its time to apply this policy to users, for the time being I will apply this to myself.
Go to Microsoft Teams admin center > Users > Select User
Scroll down and select tab “Policies” then click on "Edit", then under "App Setup policy" select your policy in my case it is DemoPolicy and click on APPLY
After this policy takes some time to reflect on end user's MS Teams desktop app, once user restart app then policy will get applied.
But on MS Team web app you just have to refresh, and you can see policy in action immediately. You can see in below screenshot my app is pinned to my Teams left bar.
Now if you want to deploy it for organization wide then you can also update your existing policy which is applied to everyone, in my case Global(Org-wide default) was applied to everyone.
Post relevance date : December 2020