Remove-AzureADServicePrincipalOwner
Den här artikeln innehåller migreringsinformation från Remove-AzureADServicePrincipalOwner kommando till Microsoft Graph PowerShell.
Sammanfattning
- Azure AD-kommando: Remove-AzureADServicePrincipalOwner
- Azure AD-modul: AzureAD
- Microsoft Graph-kommando: Remove-MgServicePrincipalOwnerByRef (communityexempel)
- Graph-modul: Microsoft.Graph.Applications
- Graph-slutpunkt: DELETE /servicePrincipals/{servicePrincipal-id}/owners/{directoryObject-id}/$ref
Behörigheter
Behörighetstyp | Minst privilegierade behörigheter | Behörigheter med högre privilegier |
---|---|---|
Delegerad (arbets- eller skolkonto) | Application.ReadWrite.All | Directory.ReadWrite.All |
Delegerad (personligt Microsoft-konto) | Stöds inte. | Stöds inte. |
Program | Application.ReadWrite.All | Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
Visa mer information om behörigheter.
Egenskapsmappning
Azure AD namn | Microsoft Graph-namn |
---|---|
ObjectId | ServicePrincipalId |
OwnerId | DirectoryObjectId |
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för