Specify the Application ID URI for your Entra application for OIDC
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 setting allows you to specify an Application ID URI for your Entra application for OIDC if it is different from your SharePoint Server URL. To use this setting, you must also enable "Enable the use of OIDC authentication for syncing content from a SharePoint Server". This setting affects only OneDrive for Business sync functionality. It does not impact syncing team sites in SharePoint Online.
If you enable this setting and provide the Application ID URI, this value will be used for requests to the SharePoint Server.
If you disable or do not configure this setting, we will use the SharePoint Server URL as the Application ID URI instead.
Registre
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive- 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 : OneDrive/SharePointOnPremApplicationIdUri
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Entra Application ID URI
Set-ItemProperty -Path $k -Name 'SharePointOnPremApplicationIdUri' -Value '<valeur>' -Type StringDésactiver
# Désactiver : OneDrive/SharePointOnPremApplicationIdUri
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)Revenir à « Non configuré »
# Revenir à « Non configuré » : OneDrive/SharePointOnPremApplicationIdUri
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
Remove-ItemProperty -Path $k -Name 'SharePointOnPremApplicationIdUri' -ErrorAction SilentlyContinueOptions (1)
| Libellé | Contrôle | Valeur de registre | Type REG | Contraintes / détails |
|---|---|---|---|---|
| Entra Application ID URI:SharePointOnPremApplicationIdUriBox | Zone de textetext | SharePointOnPremApplicationIdUri | REG_SZ | Longueur max : 2000 |
Application
Microsoft OneDrive (Microsoft) — modèles d'octobre 2026
Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.