Ouvrir dans l'explorateur

Allow specified hosts to show Basic Authentication prompts to Office apps

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Utilisateur
Chemin GPO
Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Office 2016 › Paramètres de sécurité EN : User Configuration › Policies › Administrative Templates › Microsoft Office 2016 › Security Settings
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
office16.admx
Nom interne
office16/L_BasicAuthPromptBehavior

Explication

This policy setting allows you to specify which hosts can show Basic Authentication sign-in prompts to Office apps.

By default, all Basic Authentication sign-in prompts are blocked, and the user is shown a message that the sign-in method isn’t allowed.

If you enable this policy setting, you need to enter the hosts by name, separating the host names with a semi-colon. For example: server1.contoso.com; server2.fabrikam.com.

Warning: Allowing Basic Authentication sign-in prompts isn’t recommended because it’s a security risk.

Basic Authentication sign-in prompts from all other hosts will be blocked and the user will be shown a message that the sign-in method isn’t allowed.

If you disable or don’t configure this policy setting, all Basic Authentication sign-in prompts will be blocked, and the user will be shown a message that the sign-in method isn’t allowed.

Note: This policy setting only applies to subscription versions of Office, such as Microsoft 365 Apps for enterprise, and to subscription versions of Project and Visio.

For more information, see https://go.microsoft.com/fwlink/p/?linkid=2199001.

Registre

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\identity
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_BasicAuthPromptBehavior
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\identity'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Host names
Set-ItemProperty -Path $k -Name 'basichostallowlist' -Value '<valeur>' -Type ExpandString

Désactiver

# Désactiver : office16/L_BasicAuthPromptBehavior
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : office16/L_BasicAuthPromptBehavior
$k = 'HKCU:\software\policies\microsoft\office\16.0\common\identity'
Remove-ItemProperty -Path $k -Name 'basichostallowlist' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Host names:L_AuthenticationBasicAuthEnabledHostsIDZone de textetextbasichostallowlistREG_EXPAND_SZ

Application

Microsoft 365 Apps / Office (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.