Teams - can automatic sign-in be disabled

DavidYorkshire 91 Reputation points
2020-07-29T11:36:36.163+00:00

We have several meeting room computers and shared laptops which have a single shared user account (and they are not domain joined). Is it possible to prevent Teams from signing in automatically? From testing, it appears that once the user clicks OK to the default options the first time they sign in, it will then cache the details and even if they sign out, it will remember the password as soon as an attempt to sign back in with that email address is attempted - which is obviously not suitable for a shared computer account.

Thanks

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,282 questions
{count} votes

8 answers

Sort by: Oldest
  1. Leon Laude 85,686 Reputation points
    2020-07-29T12:14:18.59+00:00
    0 comments No comments

  2. JimmyYang-MSFT 49,456 Reputation points Microsoft Vendor
    2020-07-30T06:30:40.413+00:00

    Hi!

    Did you choose the option to cache the credentials when you firstly login in Teams?

    If you don’t want to login in Teams without enter credentials, you can try to right-click the app icon in their taskbar, and then select Log out. Once they've sign out of Teams, they need to enter their credentials again to launch the app.

    In my experience, Modern authentication is a process that lets Teams know that users have already entered their credentials (like their work email and password) elsewhere, and they shouldn't be required to enter them again to start the app.

    Besides, you can try to enable MFA for your organization:
    https://learn.microsoft.com/en-us/microsoft-365/admin/security-and-compliance/set-up-multi-factor-authentication?view=o365-worldwide

    0 comments No comments

  3. DavidYorkshire 91 Reputation points
    2020-08-04T14:41:12.78+00:00

    Thanks, but don't think those suggestions address the issue. Users will mostly just click the default when signing in, and that is to cache credentials, so we need a way to stop that from happening. MFA isn't going to work infor various reasons.

    The users shouldn't need to sign into anything else - the machines currently have Office 2013, this will probably be upgraded to 2019 (minus Outlook), but there shouldn't be any need to sign into this - the files to be opened will all be on a network share or copied from a USB stick. Teams will only be needed for vocie and video calls.

    The machines aren't domain joined so GPOs won't be possible either. I guess what I'm asking is whether there is a registry key or similar method which prevents Teams from caching credentials.

    Thanks

    1 person found this answer helpful.

  4. Alex Fainshtein 6 Reputation points
    2021-09-11T21:10:33.727+00:00
    1 person found this answer helpful.

  5. Søren Thestrup 36 Reputation points
    2021-10-06T10:20:53.73+00:00

    I made this batch script which solved the problem for us:

    taskkill /IM "Teams.exe" /F
    taskkill /IM "Microsoft.AAD.BrokerPlugin.exe" /F
    del C:\Users\%username%\AppData\Roaming\Microsoft\Teams\desktop-config.json /q
    rd C:\Users\%username%\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy /s /q

    4 people found this answer helpful.