Block signing into Office
Explanation
This policy setting controls whether users can provide credentials to Office using either their Microsoft Account or the user ID assigned by your organization for accessing Office 365.
If you enable this policy setting, you can specify one of the following options:
- If you select "Both IDs allowed", users can sign in and access Office content by using either ID
- If you select "Microsoft Account only", users can sign in only by using their Microsoft Account.
- If you select "Organization only", users can sign in only by using the user ID assigned by your organization for accessing Office 365.
- If you select "None allowed", users cannot sign in by using either ID.
If you disable or do not configure this policy setting, users can sign in by using either ID.
Note: This policy does not apply to licensing. A user can license their product using any applicable ID if they have a valid license associated with that account. Providing credentials for licensing purposes when that ID type has been disabled, however, will not affect the signed in state of Office.
Registry
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\signin- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: office16/L_SignInOptions
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\signin'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Block signing into Office
# Possible options:
# Both IDs allowed = 0
# Microsoft Account only = 1
# Org ID only = 2
# None allowed = 3
Set-ItemProperty -Path $k -Name 'signinoptions' -Value 0 -Type DWordDisable
# Disable: office16/L_SignInOptions
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": office16/L_SignInOptions
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\signin'
Remove-ItemProperty -Path $k -Name 'signinoptions' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Block signing into OfficeL_SignInOptions5 | Drop-down listenum | signinoptions | REG_DWORD | Default choice (UI): #0
|
Application
Microsoft 365 Apps / Office (Microsoft) — November 2026 templates
Official templates downloaded on November 12, 2026.