1
votes

I would like to deploy my 1:1 Teams bot to all users in an O365 tenant as a company admin. How do I do that? I know how to get a Manifest in the Org's app store but it seems I can only deploy it for myself. For obvious reasons I can't expect my 2.000+ users to do that.

I know there is a previous question about this (Microsoft Teams: How to provide a 1:1 chat bot globally?) but it seems outdated and I don't see a real solution here

2
Aware of that document. Unless I misinterpret, this does not explain how to deploy a Teams 1:1 bot to all O365 users. - Sjoerd Koolen

2 Answers

1
votes

I can think of a fairly simple way to do it assuming some programming, of course.

Use the MSFT Graph API to add the contact to the user's contact List, then it'll show on the 1:1 chat tab.

https://docs.microsoft.com/en-us/graph/api/user-post-contacts?view=graph-rest-1.0&tabs=cs

Since it is a user's contact it also allows to set a picture and a custom name.

EDIT:

I then realised this would not list in the 1:1 chat tab because it wouldn't appear there until there is an interaction. Also not sure how the contact should be populated...

My suggestion would that from the bot itself you sent a welcome message to every user, this will make sure that everyone has in in 1:1.

0
votes

Assuming you want to deploy your bot only to your company not globally. ? if that is the case, once you have your bot ready with manifest.json file. Then you have to follow the

Publish apps to the Microsoft Teams Tenant Apps Catalog

https://docs.microsoft.com/en-us/microsoftteams/tenant-apps-catalog-teams

Alternatively this is a bit of cheeky way.

Assuming if all your 2000+ users in one Company Teams / Channel. As an Admin you can install your bot in to that channel. Then every one can access the bot using @ mentions of your Bot.

Hope it helps.