SOLVED

Disable auto start or enable auto-sign in

Brass Contributor

Hi!

 

I'm installing Office 365 ProPlus (with Teams) on computers in our environment.

 

Is there any way to prevent the log-in screen that pops up for Microsoft Teams on a fresh computer?

I'd prefer it to auto-sign in, but if that is not possible then I'd like to prevent auto start on.

 

Any registry settings that I can set on computers?

6 Replies
best response confirmed by mrkesu (Brass Contributor)
Solution
Hi @mrkesu,

You can 100% prevent auto start via a GPO, amending the JSON on the users machine or going into the Teams client options and doing it user per user

https://techcommunity.microsoft.com/t5/Microsoft-Teams/How-to-Prevent-Teams-from-Auto-Launch/m-p/780...

Can also do it via Registry

https://blog.valeconsulting.co.uk/2018/08/08/microsoft-teams-prevent-automatic-startup/

As for Auto Sign In, it looks like SSO with Azure AD is the way to go

https://techcommunity.microsoft.com/t5/Microsoft-Teams/Teams-Single-sign-on-Automatic-login-Pass-thr...

A third party identity tool may also do this however after logging in initially Teams does persist with that login so I would consider whether this is worth the time investment. I know that you are looking for the cleanest UX for your users here.

Hope that answers your question!

Best, Chris
Teams should auto login by default assuming that you are logged in to office pro plus with the enterprise credentials and they are using a PC. Mac isn’t supported. But because teams is modern auth by default it should use the account logged in with the install. Assume you are setting up the computers / install with logging into office with their accounts?

If you are and it’s still not working might need to make sure your exchange and Skype for business (not sure this is required for Teams or not), all have modern auth turned on as well since teams does talk to them as well.

Here is how teams should work with auto login. https://docs.microsoft.com/en-us/microsoftteams/sign-in-teams#how-modern-authentication-works

Modern auth for exchange: https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/enable-or-disable-mo...

@Christopher Hoard 

I have no idea how I missed that registry key in my searches, thank you! :smile:

 

Tested and works exactly as advertised! Also when the user open Teams at some point of their own free will then it reverts to default "automatically start on sign in", perfect.

 

For others wondering;

Use Group Policy to prevent Microsoft Teams from starting automatically after installation

...you can add the PreventFirstLaunchAfterInstall value to the HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Office\16.0\Teams key in the registry. The type for PreventFirstLaunchAfterInstall is REG_DWORD and the value should be set to 1 if you don't want Teams to automatically start after installation.




@Chris Webb 


@Chris Webb wrote:
Teams should auto login by default assuming that you are logged in to office pro plus with the enterprise credentials and they are using a PC. 

Yes of course, I might have worded myself wrongly. On first log in after installation it displays a big window prompting the user to continue to sign in (basically just a "Log In" button that the user has to click without providing credentials...)

 

The GPO \ registry setting mentioned above stops this default behavior, which is what I needed :smile:

 

I don't like users receiving a multitude of windows to deal with on their first sign in if it can be avoided.

@Christopher Hoard 

 

Hi Chris, 

 

apologies to barge in this way, i was reading your explanation on SSO for MS Teams, do you have a moment to take a look at my topic and provide some suggestions  ? Thanks in advance.

https://techcommunity.microsoft.com/t5/Microsoft-Teams/Any-method-to-disable-MS-Teams-sign-out-funct...

@Chris Webb 

 

Hi Chris, 

apologies to barge in this way, i was reading yours explanation on SSO for MS Teams in this thread , do you have a moment to take a look at my topic and provide some suggestions  ? Thanks in advance for any ideas you can provide.

https://techcommunity.microsoft.com/t5/Microsoft-Teams/Any-method-to-disable-MS-Teams-sign-out-funct...

1 best response

Accepted Solutions
best response confirmed by mrkesu (Brass Contributor)
Solution
Hi @mrkesu,

You can 100% prevent auto start via a GPO, amending the JSON on the users machine or going into the Teams client options and doing it user per user

https://techcommunity.microsoft.com/t5/Microsoft-Teams/How-to-Prevent-Teams-from-Auto-Launch/m-p/780...

Can also do it via Registry

https://blog.valeconsulting.co.uk/2018/08/08/microsoft-teams-prevent-automatic-startup/

As for Auto Sign In, it looks like SSO with Azure AD is the way to go

https://techcommunity.microsoft.com/t5/Microsoft-Teams/Teams-Single-sign-on-Automatic-login-Pass-thr...

A third party identity tool may also do this however after logging in initially Teams does persist with that login so I would consider whether this is worth the time investment. I know that you are looking for the cleanest UX for your users here.

Hope that answers your question!

Best, Chris

View solution in original post