Smart link for Teams web - URL with direct login

%3CLINGO-SUB%20id%3D%22lingo-sub-315088%22%20slang%3D%22en-US%22%3ESmart%20link%20for%20Teams%20web%20-%20URL%20with%20direct%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-315088%22%20slang%3D%22en-US%22%3E%3CP%3EHei%20folks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20primarily%20using%20Citrix%20XenApp%20here%2C%20and%20Teams%20is%20functioning%20poorly%26nbsp%3Bthere%20-%20so%20I'm%20pondering%20making%20our%20users%20use%20Teams%20web%20until%20proper%20XenApp%20support%20is%20ready.%20So%20i%20would%20like%20an%20URL%20with%20direct%20ADFS%20log%20on%20to%20Teams%20web.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWondering%20of%20anyone%20has%20been%20able%20to%20produce%20a%20smart%20link%20for%20autologon%20to%20Teams%20web%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBR%20Arve%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-315088%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Ecitrix%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ERemote%20Desktop%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Esmartlink%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Exenapp%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-329744%22%20slang%3D%22en-US%22%3ERe%3A%20Smart%20link%20for%20Teams%20web%20-%20URL%20with%20direct%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-329744%22%20slang%3D%22en-US%22%3E%3CP%3EDoes%20it%20have%20to%20include%20the%20Teams%20app%20client%20ID%20to%20access%20the%20Teams%20web%20UI%3F%20This%20has%20been%20working%20for%20us%20(just%20replace%20%22domain.com%22%20with%20either%20your%20vanity%20domain%20name%20or%20onmicrosoft.com%20domain%20name)%3A%3C%2FP%3E%3CBR%20%2F%3E%3CPRE%3E%20https%3A%2F%2Fteams.microsoft.com%2F%3Fwhr%3Ddomain.com%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-315311%22%20slang%3D%22en-US%22%3ERe%3A%20Smart%20link%20for%20Teams%20web%20-%20URL%20with%20direct%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-315311%22%20slang%3D%22en-US%22%3EIt%E2%80%99s%20the%20Teams%20app%20client%20id%2C%20has%20nothing%20todo%20with%20my%20tenant%20and%20should%20not%20be%20changed%20if%20you%20want%20the%20link%20to%20work.%3CBR%20%2F%3E%3CBR%20%2F%3E%5CMagnus%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-315243%22%20slang%3D%22en-US%22%3ERe%3A%20Smart%20link%20for%20Teams%20web%20-%20URL%20with%20direct%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-315243%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F23556%22%20target%3D%22_blank%22%3E%40Magnus%20Sandtorv%3C%2FA%3E%26nbsp%3B-%20If%20the%20client%20ID%20is%20the%20real%20ID%20from%20your%20tenant%2C%20I%20would%20suggest%20to%20remove%20it.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%26nbsp%3BMake%20sure%2C%20you%20change%20the%20client%20ID%20to%20Teams%20Application%20ID%20in%20your%20tenant.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EH.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-315211%22%20slang%3D%22en-US%22%3ERe%3A%20Smart%20link%20for%20Teams%20web%20-%20URL%20with%20direct%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-315211%22%20slang%3D%22en-US%22%3ESaving%20this%20for%20future%20reference%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F23556%22%20target%3D%22_blank%22%3E%40Magnus%20Sandtorv%3C%2FA%3E%20-%20Thanks!%20%3AD%3C%2Fimg%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-315193%22%20slang%3D%22en-US%22%3ERe%3A%20Smart%20link%20for%20Teams%20web%20-%20URL%20with%20direct%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-315193%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Arve%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHere%20you%20go%2C%20just%20add%20a%20federated%20domain%20as%20domain%20hint%20in%20the%20end.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%0A%3CPRE%3Ehttps%3A%2F%2Flogin.microsoftonline.com%2Fcommon%2Foauth2%2Fauthorize%3Fclient_id%3D5e3ce6c0-2b1f-4285-8d4b-75ee78787346%26amp%3Bresponse_mode%3Dform_post%26amp%3Bresponse_type%3Dcode%2Bid_token%26amp%3Bscope%3Dopenid%2Bprofile%26amp%3Bredirect_uri%3Dhttps%253A%252F%252Fteams.microsoft.com%26amp%3Bdomain_hint%3DYOUR.DOMAIN.HERE%3C%2FPRE%3E%0A%3CP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%5CMagnus%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1426522%22%20slang%3D%22en-US%22%3ERe%3A%20Smart%20link%20for%20Teams%20web%20-%20URL%20with%20direct%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1426522%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20usually%20works%20for%20me%20but%20not%20today%2C%20this%20small%20change%20worked%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fteams.microsoft.com%2F_%3Fwhr%3Ddomain.com%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fteams.microsoft.com%2F_%3Fwhr%3Ddomain.com%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1451646%22%20slang%3D%22en-US%22%3ERe%3A%20Smart%20link%20for%20Teams%20web%20-%20URL%20with%20direct%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1451646%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20might%20you%20combine%20this%20with%20the%20deeplink%20to%20bypass%20the%20'prompt%20to%20download%20app'%3F%3C%2FP%3E%3CP%3EFor%20example%20-%20%3CA%20href%3D%22https%3A%2F%2Fteams.microsoft.com%2F_%23%2F%3Flm%3Ddeeplink%26amp%3Blmsrc%3DofficeWaffle%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fteams.microsoft.com%2F_%23%2F%3Flm%3Ddeeplink%26amp%3Blmsrc%3DofficeWaffle%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20need%20to%20be%20able%20to%20bypass%20the%20initial%20download-the-app%20page%2C%20but%20still%20also%20pass%20credentials%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1459545%22%20slang%3D%22en-US%22%3ERe%3A%20Smart%20link%20for%20Teams%20web%20-%20URL%20with%20direct%20login%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1459545%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F277128%22%20target%3D%22_blank%22%3E%40Daniel_B%3C%2FA%3E%20when%20you%20use%20a%20link%20like%20that%2C%20how%20does%20it%20pick%20up%20your%20credentials%20without%20you%20having%20to%20sign%20in%20again%3F%20I'd%20like%20to%20figure%20out%20how%20to%20pass%20credentials%20to%20the%20web%20version%20of%20Teams%2C%20so%20that%20my%20users%20aren't%20presented%20a%20second%20%22sign%20in%20here%22%20prompt.%3C%2FLINGO-BODY%3E
Highlighted
Deleted
Not applicable

Hei folks

 

We are primarily using Citrix XenApp here, and Teams is functioning poorly there - so I'm pondering making our users use Teams web until proper XenApp support is ready. So i would like an URL with direct ADFS log on to Teams web. 

 

Wondering of anyone has been able to produce a smart link for autologon to Teams web?

 

BR Arve

8 Replies
Highlighted

Hi Arve,

 

Here you go, just add a federated domain as domain hint in the end.

https://login.microsoftonline.com/common/oauth2/authorize?client_id=5e3ce6c0-2b1f-4285-8d4b-75ee78787346&response_mode=form_post&response_type=code+id_token&scope=openid+profile&redirect_uri=https%3A%2F%2Fteams.microsoft.com&domain_hint=YOUR.DOMAIN.HERE



\Magnus

Highlighted
Saving this for future reference @Deleted - Thanks! :D
Highlighted

 

@Deleted - If the client ID is the real ID from your tenant, I would suggest to remove it. 

 

@Christopher Hoard Make sure, you change the client ID to Teams Application ID in your tenant. 

 

Cheers,

H.

 

 

Highlighted
It’s the Teams app client id, has nothing todo with my tenant and should not be changed if you want the link to work.

\Magnus
Highlighted

Does it have to include the Teams app client ID to access the Teams web UI? This has been working for us (just replace "domain.com" with either your vanity domain name or onmicrosoft.com domain name):


	https://teams.microsoft.com/?whr=domain.com
Highlighted

This usually works for me but not today, this small change worked:

 

https://teams.microsoft.com/_?whr=domain.com

Highlighted

How might you combine this with the deeplink to bypass the 'prompt to download app'?

For example - https://teams.microsoft.com/_#/?lm=deeplink&lmsrc=officeWaffle

 

I need to be able to bypass the initial download-the-app page, but still also pass credentials?

Highlighted
@Daniel_B when you use a link like that, how does it pick up your credentials without you having to sign in again? I'd like to figure out how to pass credentials to the web version of Teams, so that my users aren't presented a second "sign in here" prompt.