Microsoft Teams
Restrict sign in to Teams to accounts in specific tenants
Supported on SUPPORTED_Windows7 (defined in the Windows templates)
What it does
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.
What it writes
- Hive
- HKEY_CURRENT_USER
- Registry key
software\policies\microsoft\office\16.0\teams
Why it needs changes for Intune
- Policy references a Windows supportedOn definition.
- ADMX-INTUNE-WINDOWS-SUPPORTEDON-REFERENCE
Options
| Option | Type | Registry value | Allowed values |
|---|---|---|---|
| Tenant IDsRequired | Text | restrictteamssignintoaccountsfromtenantlist |
Up to 255 characters |
Configure and deploy
Choose a state and the option values; the output below is generated from the template for exactly that.
Fix the highlighted options to generate output.
History 1 retained release
- 5568.100010 Aug 2026
- Already present in the first release ChangeIntel keeps.
Template
- Internal name
String_Teams_SignInRestriction_Policy- Namespace
Teams.Office.Microsoft.Policies.Windows- Template file
teams16.admx- Release
- Microsoft 365 Apps 5568.1000 · file set
8be05d876aae137d…
Definition, editor controls and support
Definition
<policy class="User" displayName="$(string.String_Teams_SignInRestriction_Policy)" explainText="$(string.String_Explain_Teams_SignInRestriction_Policy)" key="software\policies\microsoft\office\16.0\teams" name="String_Teams_SignInRestriction_Policy" presentation="$(presentation.Teams_SignInRestriction_Policy)" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
<parentCategory ref="Teams.Office.Microsoft.Policies.Windows:L_Teams" />
<supportedOn ref="Microsoft.Policies.Windows:SUPPORTED_Windows7" />
<elements>
<text id="RestrictTeamsSignInToAccountsFromTenantList" required="true" valueName="restrictteamssignintoaccountsfromtenantlist" />
</elements>
</policy>Editor controls
<presentation id="Teams_SignInRestriction_Policy" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions">
<textBox refId="RestrictTeamsSignInToAccountsFromTenantList">
<label>Tenant IDs:</label>
</textBox>
</presentation>Supported platforms and category
Teams.Office.Microsoft.Policies.Windows:category:L_Teams
<category displayName="$(string.L_Teams)" name="L_Teams" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions" />
Teams.Office.Microsoft.Policies.Windows:unresolved:Microsoft.Policies.Windows:SUPPORTED_Windows7
<unresolved reference="Microsoft.Policies.Windows:SUPPORTED_Windows7" />
Teams.Office.Microsoft.Policies.Windows:category:L_Teams
<category displayName="$(string.L_Teams)" name="L_Teams" xmlns="http://schemas.microsoft.com/GroupPolicy/2006/07/PolicyDefinitions" />
<strings><string id="Teams.Office.Microsoft.Policies.Windows:L_Teams">Microsoft Teams</string></strings>