Microsoft Entra

Assign app role

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

Assign an app role to a team or group.

Inputs

Champ

Type

Description

principalId [required]

string

The ID of the user to whom you are assigning the app role.

resourceId [required]

string

The ID of the resource service principal that has defined the app role.

appRoleId [required]

string

The ID of the app role (defined on the resource service principal) to assign to the user.

If the resource application has not declared any app roles, a default app role ID of 00000000-0000-0000-0000-000000000000 can be specified to signal that the principal is assigned to the resource app without any specific app roles.

Outputs

Champ

Type

Description

appRoleID [required]

string

createdDateTime [required]

string

principalDisplayName [required]

string

principalID [required]

string

principalType [required]

string

resourceDisplayName [required]

string

resourceID [required]

string