Ouvrir dans l'explorateur

Définir les domaines autorisés pour l’authentification HTTPS dans l’installation de streaming MSIX

Set authorized domains for HTTPS authentication in MSIX streaming install

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Déploiement de package Appx EN : Computer Configuration › Policies › Administrative Templates › Windows Components › App Package Deployment
Pris en charge sur
Au moins Windows 11 version 22H2 EN : At least Windows 11 Version 22H2
Fichier ADMX
AppxPackageManager.admx
Nom interne
AppxPackageManager/ConfigureMSIXAuthenticationAuthorizedDomains

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie détermine si un jeton OAuth Deid doit être inclus dans les communications HTTPS vers un nom de domaine complet spécifié pour effectuer une installation de streaming MSIX.

Si vous activez ce paramètre de stratégie, les communications HTTPS vers les domaines complets prédéfinis incorporent le jeton OAuth De l’utilisateur lors d’une installation MSIX de streaming. La valeur fournie est une expression régulière (script ECMA) qui sera utilisée pour établir une correspondance avec le domaine complet en majuscules de l’URL.

Si vous désactivez ou ne configurez pas ce paramètre de stratégie, le jeton OAuth DeId de l’utilisateur est partagé uniquement avec les domaines configurés par défaut.

This policy setting determines whether an EntraID OAuth token will be included in HTTPS communications to a specified fully qualified domain name for performing an MSIX streaming installation.

If you enable this policy setting, HTTPS communications to the predefined fully qualified domains will incorporate the user's EntraID OAuth token when performing a streaming MSIX install. The value provided is a regular expression (ECMA Script) that will be used to match against the uppercased, fully qualified domain of the URL.

If you disable or do not configure this policy setting, the user's EntraID OAuth token will only be shared with the default configured domains.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx
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 : AppxPackageManager/ConfigureMSIXAuthenticationAuthorizedDomains
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Appx'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Expression
Set-ItemProperty -Path $k -Name 'MSIXAuthenticationAuthorizedDomains' -Value '<valeur>' -Type String

Désactiver

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

Revenir à « Non configuré »

# Revenir à « Non configuré » : AppxPackageManager/ConfigureMSIXAuthenticationAuthorizedDomains
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Appx'
Remove-ItemProperty -Path $k -Name 'MSIXAuthenticationAuthorizedDomains' -ErrorAction SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
ExpressionConfigureMSIXAuthenticationAuthorizedDomainsZone de textetextMSIXAuthenticationAuthorizedDomainsREG_SZ
Obligatoire

Disponibilité

Windows 11

✓ 26H2✓ 25H2✓ 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511— 1507

Windows Server

✓ 2025— 2022— 2016