Set authorized domains for HTTPS authentication in MSIX streaming install
Définir les domaines autorisés pour l’authentification HTTPS dans l’installation de streaming MSIX
Explanation
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.
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.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Appx- 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: 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 '<value>' -Type StringDisable
# Disable: AppxPackageManager/ConfigureMSIXAuthenticationAuthorizedDomains
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": AppxPackageManager/ConfigureMSIXAuthenticationAuthorizedDomains
$k = 'HKLM:\Software\Policies\Microsoft\Windows\Appx'
Remove-ItemProperty -Path $k -Name 'MSIXAuthenticationAuthorizedDomains' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| ExpressionConfigureMSIXAuthenticationAuthorizedDomains | Text boxtext | MSIXAuthenticationAuthorizedDomains | REG_SZ | Required |