简体   繁体   中英

Does MS Teams have a url to install an application in Teams similar to what Slack has?

While developing apps for Slack, we can distribute the app to other organizations using a url - https://slack.com/oauth/v2/authorize with appropriate scopes needed. We are able to add this url reference to a button and let users install the app by logging in to Slack.

Is there a similar url for MS Teams that can be used to install / distribute the application?

You can use a deep link for that:

Deep linking to an app

Create a deep link for the app after the app is listed in the Teams store. To create a link to launch Teams, append the app ID to the following URL: https://teams.microsoft.com/l/app/<your-app-id> . A dialog box appears to install the app.

source: https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links?tabs=teamsjs-v1#deep-linking-to-an-app

When user clicks on it, they will go to Teams and an app installation dialog will be shown for them to decide if they want to install the app.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM