Set-AzureADServicePrincipal
Dit artikel bevat migratiedetails van Set-AzureADServicePrincipal opdracht naar Microsoft Graph PowerShell.
Belangrijk
Het gebruik van PATCH om passwordCredential in te stellen, wordt niet ondersteund. Gebruik de methoden addPassword en removePassword om het wachtwoord of geheim voor een servicePrincipal bij te werken.
Samenvatting
- Azure AD opdracht: Set-AzureADServicePrincipal
- Azure AD module: AzureAD
- Microsoft Graph-opdracht: Update-MgServicePrincipal (community-voorbeelden)
- Graph Module: Microsoft.Graph.Applications
- Graph-eindpunt: PATCH /servicePrincipals/{servicePrincipal-id}
Machtigingen
Machtigingstype | Machtigingen (van laagste naar hoogste bevoegdheid) |
---|---|
Gedelegeerd (werk- of schoolaccount) | Application.ReadWrite.All |
Gedelegeerd (persoonlijk Microsoft-account) | Wordt niet ondersteund. |
Toepassing | Application.ReadWrite.OwnedBy, Application.ReadWrite.All |
Meer informatie over machtigingen weergeven.
Eigenschapstoewijzing
naam van Azure AD | Microsoft Graph-naam |
---|---|
AccountEnabled | AccountEnabled |
AlternativeNames | AlternativeNames |
AppId | AppId |
AppRoleAssignmentRequired | AppRoleAssignmentRequired |
ErrorUrl | NA |
Startpagina | Startpagina |
KeyCredentials | KeyCredentials |
LogoutUrl | LogoutUrl |
PasswordCredentials | PasswordCredentials |
PublisherName | NA |
ReplyUrls | ReplyUrls |
DisplayName | DisplayName |
SamlMetadataUrl | NA |
ServicePrincipalNames | ServicePrincipalNames |
ServicePrincipalType | ServicePrincipalType |
Tags | Tags |