Block signing into Office
Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.
Explication
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.
Registre
HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\signin- Nom de la valeur
- non défini dans l'ADMX
Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).
PowerShell
Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.
Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.
Activer
# Activer : 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
# Options possibles :
# Both IDs allowed = 0
# Microsoft Account only = 1
# Org ID only = 2
# None allowed = 3
Set-ItemProperty -Path $k -Name 'signinoptions' -Value 0 -Type DWordDésactiver
# Désactiver : office16/L_SignInOptions
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : office16/L_SignInOptions
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\signin'
Remove-ItemProperty -Path $k -Name 'signinoptions' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Block signing into OfficeL_SignInOptions5 | Liste déroulanteenum | signinoptions | REG_DWORD | Choix par défaut (interface) : n° 0
|
Application
Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026
Modèles officiels téléchargés le 12 novembre 2026.