Smart link for Teams web - URL with direct login

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

10 Replies

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

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

 

@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.

 

 

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

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

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

 

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

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?

@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.
I would also like to know this......

Sorry, just saw your question.  We're using SSO (single sign-on), so with WIA (Windows-Integrated Authentication) and the way that we have it set up, the browser session passes the Windows credentials through to O365 automatically.  No need for users to enter credentials (unless they are using a BYOD device or something like that).  It isn't a Teams thing, that's an O365 thing.  If you can do SSO with MS/O365 at all, then SSO should carry over and work with Teams as well.