title | description | ms.localizationpriority | doc_type | ms.subservice | author |
---|---|---|---|---|---|
resourceAccess resource type |
Specifies an OAuth 2.0 permission scope or an app role that an application requires. |
medium |
resourcePageType |
entra-applications |
psignoret |
Namespace: microsoft.graph
[!INCLUDE beta-disclaimer]
Object used to specify an OAuth 2.0 permission scope or an app role that an application requires, through the resourceAccess property of the requiredResourceAccess resource type.
Property | Type | Description |
---|---|---|
id | Guid | The unique identifier of an app role or delegated permission exposed by the resource application. For delegated permissions, this should match the id property of one of the delegated permissions in the oauth2PermissionScopes collection of the resource application's service principal. For app roles (application permissions), this should match the id property of an app role in the appRoles collection of the resource application's service principal. |
type | String | Specifies whether the id property references a delegated permission or an app role (application permission). The possible values are: Scope (for delegated permissions) or Role (for app roles). |
The following JSON representation shows the resource type.
{
"id": "Guid",
"type": "String"
}