Microsoft Entra · Schema
AppRoleAssignment
Represents an app role granted to a user, group, or service principal
Access ManagementAuthenticationAzure ADEntraIdentityIdentity GovernanceMicrosoftNetwork SecuritySecurityZero Trust
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the assignment (GUID) |
| appRoleId | string | The ID of the app role to assign. Use the default role ID 00000000-0000-0000-0000-000000000000 for default access. |
| principalId | string | The unique identifier of the user, group, or service principal being granted the app role |
| principalType | string | The type of the assigned principal |
| principalDisplayName | string | Display name of the principal |
| resourceId | string | The unique identifier of the resource service principal to which the assignment is made |
| resourceDisplayName | string | Display name of the resource application |
| createdDateTime | string | Time when the app role assignment was created |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "AppRoleAssignment",
"type": "object",
"description": "Represents an app role granted to a user, group, or service principal",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the assignment (GUID)"
},
"appRoleId": {
"type": "string",
"description": "The ID of the app role to assign. Use the default role ID 00000000-0000-0000-0000-000000000000 for default access."
},
"principalId": {
"type": "string",
"description": "The unique identifier of the user, group, or service principal being granted the app role"
},
"principalType": {
"type": "string",
"description": "The type of the assigned principal"
},
"principalDisplayName": {
"type": "string",
"description": "Display name of the principal"
},
"resourceId": {
"type": "string",
"description": "The unique identifier of the resource service principal to which the assignment is made"
},
"resourceDisplayName": {
"type": "string",
"description": "Display name of the resource application"
},
"createdDateTime": {
"type": "string",
"description": "Time when the app role assignment was created"
}
}
}