Restrict sign in to Teams to accounts in specific tenants

Policy ID
String_Teams_SignInRestriction_Policy
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Teams

Description

This policy setting allows you to control the accounts that can be used in Teams on managed devices running Windows.

If you enable this policy setting, users will only be allowed to sign in with accounts from Azure Active Directory (Azure AD) tenants that you specify. You can enter a comma separated list of tenant IDs.

The policy setting applies to all ways that the user signs in, including first and additional accounts on versions of Teams that support multiple accounts side by side.

The policy setting is also enforced when users sign out and sign back in.

If you disable or don't configure this policy setting, Teams will continue to allow users to sign in with work or school accounts, or personal Microsoft accounts.

Important: This policy setting only restricts which users can sign in. It does not restrict the ability for users to be invited as a guest in other Azure AD tenants, or switch to tenants they were invited to.

Note: This policy does not apply to Teams web app.

Options

  • Tenant IDs:

Registry

UserHKEY_CURRENT_USER
  • restrictteamssignintoaccountsfromtenantlistREG_SZ

Other policies in the same category

View all policies in this category (2)