Remove-AzureADServicePrincipalOwner
Den här artikeln innehåller migreringsinformation från Remove-AzureADServicePrincipalOwner-kommandot till Microsoft Graph PowerShell.
Sammanfattning
- Azure AD-kommando: Remove-AzureADServicePrincipalOwner
- Azure AD-modul: AzureAD
- Microsoft Graph-kommando: Remove-MgServicePrincipalOwnerByRef (Community Examples)
- Graph-modul: Microsoft.Graph.Applications
- Graph Endpoint: 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. |
Tillämpning | Application.ReadWrite.OwnedBy | Application.ReadWrite.All, Directory.ReadWrite.All |
Visa mer information om behörigheter.
Egenskapsmappning
Azure AD-namn | Microsoft Graph-namn |
---|---|
ObjectId | ServicePrincipalId |
OwnerId | DirectoryObjectId |