Home

Does Teams mobile apps support url schemes ?

%3CLINGO-SUB%20id%3D%22lingo-sub-85605%22%20slang%3D%22en-US%22%3EDoes%20Teams%20mobile%20apps%20support%20url%20schemes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-85605%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe're%20working%20on%20a%20mobile%20apps%20that%20provide%20services%20to%20office%20employees%20and%20we%20want%20to%20open%20Teams%20app%20with%20our%20app%20using%20an%20url%20scheme.%3C%2FP%3E%3CP%3EThis%20operation%20is%20working%20with%20Skype%20(using%20skype%3A%2F%2F)%2C%20but%20I%20can't%20find%20info%20about%20Teams%20url%20schemes.%3C%2FP%3E%3CP%3EDo%20the%20iOS%20and%20Android%20Teams%20apps%20declare%20and%20support%20a%20url%20scheme%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-85605%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-382653%22%20slang%3D%22en-US%22%3ERe%3A%20Does%20Teams%20mobile%20apps%20support%20url%20schemes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-382653%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F285339%22%20target%3D%22_blank%22%3E%40brianmelendez%3C%2FA%3E%26nbsp%3B%2C%20I%20am%20specifically%20trying%20to%20do%20the%20same%20thing%20(with%20Drafts%20v4).%20%26nbsp%3BPlease%20keep%20me%20posted%20if%20you%20have%20any%20success%20and%20I%20will%20do%20the%20same.%20Thank%20you.%20Craig%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-352020%22%20slang%3D%22en-US%22%3ERe%3A%20Does%20Teams%20mobile%20apps%20support%20url%20schemes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-352020%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20for%20this.%26nbsp%3B%20I'm%20trying%20to%20automate%20some%20things%20with%20drafts%205%20app%20for%20iOS%20and%20have%20it%20send%20things%20places%20for%20me%20with%20their%20%22actions%22.%26nbsp%3B%20Also%20possibly%20doing%20this%20with%20iOS%20Shortcuts%20app.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDoes%20anyone%20have%20an%20example%20for%20a%20URI%20scheme%20for%20sending%20a%20direct%20message%3F%26nbsp%3B%20IE%2C%20msteams%3A%2F%2Frecipient%3D%5Busername%5D%26amp%3Bmessage%3D%22message%20I%20want%20put%20in%20message%20box%20to%20this%20user%22.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-323433%22%20slang%3D%22en-US%22%3ERe%3A%20Does%20Teams%20mobile%20apps%20support%20url%20schemes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-323433%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20used%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emsteams%3A%2F%2F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%20it%20works.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-303167%22%20slang%3D%22en-US%22%3ERe%3A%20Does%20Teams%20mobile%20apps%20support%20url%20schemes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-303167%22%20slang%3D%22en-US%22%3E%3CH3%20id%3D%22toc-hId-1160786367%22%20id%3D%22toc-hId-1536850816%22%3EIf%20you%20are%20using%20Xamarin%20Essentials%20for%20opening%20the%20URL%20you%20just%20need%20to%20change%20the%20Browser%20Launch%20mode%20to%20external%20like%20this%20%3CSTRONG%3EBrowserLaunchMode.External%3C%2FSTRONG%3E%20then%20it%20will%20open%20the%20Microsoft%20teams%20app%20if%20it%20is%20installed%20in%20the%20phone%20otherwise%20the%20corresponding%20browser%20will%20open.%3C%2FH3%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-87826%22%20slang%3D%22en-US%22%3ERe%3A%20Does%20Teams%20mobile%20apps%20support%20url%20schemes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-87826%22%20slang%3D%22en-US%22%3E%3CP%3EWhen%20you%20copy%20a%20link%20to%20a%20channel%2C%20you%20get%20a%20link%20like%20this%3A%3C%2FP%3E%3CPRE%3Ehttps%3A%2F%2Fteams.microsoft.com%2Fl%2Fchannel%2F%26lt%3BchannelGUID%26gt%3B%40thread.skype%2F%26lt%3BchannelName%26gt%3B%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20you%20click%20that%20link%20on%20any%20platform%20(also%20on%20mobile)%2C%20the%20Teams%20App%20is%20launched.%20So%20a%20redirect%20happens%20somewhere%20under%20the%20hood.%20Some%20more%20digging%20shows%20that%26nbsp%3Bthe%20original%20link%20redirects%20to%20this%20link%3A%26nbsp%3B%3C%2FP%3E%3CPRE%3Ehttps%3A%2F%2Fteams.microsoft.com%2Fdl%2Flauncher%2Flauncher.html%3Furl%3D%2F_%23%2Fl%2Fchannel%2F%26lt%3BchannelGUID%26gt%3B%40thread.skype%2F%26lt%3BchannelName%26gt%3B%26amp%3Btype%3Dchannel%3C%2FPRE%3E%3CP%3EWhich%20in%20turn%20calls%20an%20iframe%20with%20some%20Javascript%20to%20actually%20launch%20the%20App.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMaybe%20you%20can%20use%20this%20to%20build%20your%20own%20urls.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-87793%22%20slang%3D%22en-US%22%3ERe%3A%20Does%20Teams%20mobile%20apps%20support%20url%20schemes%20%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-87793%22%20slang%3D%22en-US%22%3E%3CP%3ENo%20clues%20%3F%20Anyone%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Deleted
Not applicable

Hi,

 

We're working on a mobile apps that provide services to office employees and we want to open Teams app with our app using an url scheme.

This operation is working with Skype (using skype://), but I can't find info about Teams url schemes.

Do the iOS and Android Teams apps declare and support a url scheme ?

 

Regards,

6 Replies

No clues ? Anyone ?

When you copy a link to a channel, you get a link like this:

https://teams.microsoft.com/l/channel/<channelGUID>@thread.skype/<channelName>

 

When you click that link on any platform (also on mobile), the Teams App is launched. So a redirect happens somewhere under the hood. Some more digging shows that the original link redirects to this link: 

https://teams.microsoft.com/dl/launcher/launcher.html?url=/_#/l/channel/<channelGUID>@thread.skype/<channelName>&type=channel

Which in turn calls an iframe with some Javascript to actually launch the App.

 

Maybe you can use this to build your own urls.

If you are using Xamarin Essentials for opening the URL you just need to change the Browser Launch mode to external like this BrowserLaunchMode.External then it will open the Microsoft teams app if it is installed in the phone otherwise the corresponding browser will open.

I've used:

 

msteams://

 

And it works. 

Thanks for this.  I'm trying to automate some things with drafts 5 app for iOS and have it send things places for me with their "actions".  Also possibly doing this with iOS Shortcuts app.

 

Does anyone have an example for a URI scheme for sending a direct message?  IE, msteams://recipient=[username]&message="message I want put in message box to this user".

@brianmelendez , I am specifically trying to do the same thing (with Drafts v4).  Please keep me posted if you have any success and I will do the same. Thank you. Craig 

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
46 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
30 Replies
flashing a white screen while open new tab
Deleted in Discussions on
14 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies