Microsoft Entra · Schema

RequiredResourceAccess

Specifies the set of OAuth 2.0 permission scopes and app roles under a specified resource that an application requires access to

Access ManagementAuthenticationAzure ADEntraIdentityIdentity GovernanceMicrosoftNetwork SecuritySecurityZero Trust

Properties

Name Type Description
resourceAppId string The unique identifier for the resource that the application requires access to (the appId of the target application)
resourceAccess array The list of OAuth 2.0 permission scopes and app roles required from the specified resource
View JSON Schema on GitHub

JSON Schema

microsoft-entra-requiredresourceaccess-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RequiredResourceAccess",
  "title": "RequiredResourceAccess",
  "type": "object",
  "description": "Specifies the set of OAuth 2.0 permission scopes and app roles under a specified resource that an application requires access to",
  "properties": {
    "resourceAppId": {
      "type": "string",
      "description": "The unique identifier for the resource that the application requires access to (the appId of the target application)",
      "example": "500123"
    },
    "resourceAccess": {
      "type": "array",
      "description": "The list of OAuth 2.0 permission scopes and app roles required from the specified resource",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier for the app role or OAuth 2.0 permission scope"
          },
          "type": {
            "type": "string",
            "description": "Specifies whether the id property references a Scope (delegated permission) or a Role (application permission)",
            "enum": [
              "Scope",
              "Role"
            ]
          }
        }
      },
      "example": []
    }
  }
}