Bishal Paudel
Bishal Paudel

Reputation: 1946

How can a MS Teams admin install custom apps to their users so that I receive conversation_id of all their users

I am building a custom app for MS Teams that sends Proactive chat messages to the users of each of the teams. When I give the app to the teams admin, they will publish the app, but I am not sure how the admin will install for their users, so that I receive conversation_id of all the users in their teams after it has been installed. I am aware that it is possible through Graph API and is looking to eliminate the app installation through Graph Api.

Upvotes: 0

Views: 535

Answers (1)

Hilton Giesenow
Hilton Giesenow

Reputation: 10804

It's possible for an admin to do this using the Teams Admin section in the Microsoft 365 Tenant Admin screens. Specifically, you're wanting to set up something called "App Setup Policies". See here for more: https://learn.microsoft.com/en-us/microsoftteams/teams-app-setup-policies#create-a-custom-app-setup-policy

Using these policies, admins can pre-install the app, and can even pin it on the left menu. They can also choose to do this for all users, or just a specified group.

To be clear though, this will install the app to the users in a -personal- context - it will NOT install the app to any -actual- Teams / Channels or Group Chats - you'd need to use Graph for that, and even then it will only be able to install to -existing- Channels or Chats and won't automatically cover new ones added after that, if that's what you were trying to achieve.

Upvotes: 1

Related Questions