Ouvrir dans l'explorateur

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.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › OneDrive EN : Computer Configuration › Policies › Administrative Templates › OneDrive
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
OneDrive.admx
Nom interne
OneDrive/SharePointOnPremApplicationIdUri

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 String

Dé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 SilentlyContinue

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Entra Application ID URI:SharePointOnPremApplicationIdUriBoxZone de textetextSharePointOnPremApplicationIdUriREG_SZ
Longueur max : 2000

Application

Microsoft OneDrive (Microsoft) — modèles d'octobre 2026

Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.