Generate add to teams url

%3CLINGO-SUB%20id%3D%22lingo-sub-1331081%22%20slang%3D%22en-US%22%3EGenerate%20add%20to%20teams%20url%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1331081%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20developing%20a%20chatbot%20for%20microsoft%20teams%20and%20I%20need%20to%20display%20a%20link%20on%20my%20website%20to%20add%20app%20to%20teams.%20Once%20user%20clicks%20on%20this%20link%20then%20he%2Fshe%20will%20be%20able%20to%20add%20the%20app%20to%20teams.%20Any%20idea%20how%20to%20generate%20this%20url%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1331081%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1331563%22%20slang%3D%22en-US%22%3ERe%3A%20Generate%20add%20to%20teams%20url%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1331563%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F606127%22%20target%3D%22_blank%22%3E%40SujayBawaskar%3C%2FA%3E%26nbsp%3BYou%20can%20do%20that%20by%20adding%20a%20deeplink%20to%20app%20installation.%20Here's%20the%20format%20of%20the%20link%3A%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fteams.microsoft.com%2Fl%2Fapp%2Faf216179-d6ce-40b1-8bf8-f6a93f2a2f46%3Fsource%3Dstore-copy-link%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fteams.microsoft.com%2Fl%2Fapp%2F%5BYourAppId%5D%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1332357%22%20slang%3D%22en-US%22%3ERe%3A%20Generate%20add%20to%20teams%20url%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1332357%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F359599%22%20target%3D%22_blank%22%3E%40Gousia_Begum%3C%2FA%3E%26nbsp%3B%2C%20does%20this%20deep%20link%20allow%20additional%20parameters%20to%20be%20passed%20from%20my%20website%3F%20I%20need%20to%20register%20MS%20teams%20user%20details%20in%20my%20website%20to%20send%20updates%2Ffeeds.%20So%20after%20adding%20the%20app%20to%20teams%20it%20should%20redirect%20back%20to%20my%20website%20with%20MS%20teams%20user%20details.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1342400%22%20slang%3D%22en-US%22%3ERe%3A%20Generate%20add%20to%20teams%20url%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1342400%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F359599%22%20target%3D%22_blank%22%3E%40Gousia_Begum%3C%2FA%3E%26nbsp%3B%2C%20needed%20functionality%20similar%20to%20add%20to%20slack%20mentioned%20in%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fapi.slack.com%2Fdocs%2Fslack-button%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3Ehttps%3A%2F%2Fapi.slack.com%2Fdocs%2Fslack-button%3C%2FA%3E.%20Is%20this%20possible%20with%20MS%20teams%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1343111%22%20slang%3D%22en-US%22%3ERe%3A%20Generate%20add%20to%20teams%20url%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1343111%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F606127%22%20target%3D%22_blank%22%3E%40SujayBawaskar%3C%2FA%3E%26nbsp%3BNo%20it%20is%20not%20possible%20to%20pass%20the%20users%20information%20through%20deeplink%20parameters.%20You%20would%20need%20to%20Authenticate%20the%20user%20inside%20Teams%20tab.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

I am developing a chatbot for microsoft teams and I need to display a link on my website to add app to teams. Once user clicks on this link then he/she will be able to add the app to teams. Any idea how to generate this url?

4 Replies

@SujayBawaskar You can do that by adding a deeplink to app installation. Here's the format of the link:
https://teams.microsoft.com/l/app/[YourAppId]

@Gousia_Begum , does this deep link allow additional parameters to be passed from my website? I need to register MS teams user details in my website to send updates/feeds. So after adding the app to teams it should redirect back to my website with MS teams user details. 

@Gousia_Begum , needed functionality similar to add to slack mentioned in https://api.slack.com/docs/slack-button. Is this possible with MS teams? 

@SujayBawaskar No it is not possible to pass the users information through deeplink parameters. You would need to Authenticate the user inside Teams tab.