Microsoft Graph · Schema

microsoft.graph.unifiedRoleAssignment

Azure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphunifiedroleassignment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.unifiedRoleAssignment",
  "title": "microsoft.graph.unifiedRoleAssignment",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "unifiedRoleAssignment",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "appScopeId": {
          "type": "string",
          "description": "Identifier of the app specific scope when the assignment scope is app specific. The scope of an assignment determines the set of resources for which the principal has been granted access. App scopes are scopes that are defined and understood by a resource application only. For the entitlement management provider, use this property to specify a catalog. For example, /AccessPackageCatalog/beedadfe-01d5-4025-910b-84abb9369997. Supports $filter (eq, in). For example, /roleManagement/entitlementManagement/roleAssignments?$filter=appScopeId eq '/AccessPackageCatalog/{catalog id}'.",
          "nullable": true
        },
        "condition": {
          "type": "string",
          "nullable": true
        },
        "directoryScopeId": {
          "type": "string",
          "description": "Identifier of the directory object representing the scope of the assignment. The scope of an assignment determines the set of resources for which the principal has been granted access. Directory scopes are shared scopes stored in the directory that are understood by multiple applications, unlike app scopes that are defined and understood by a resource application only. Supports $filter (eq, in).",
          "nullable": true
        },
        "principalId": {
          "type": "string",
          "description": "Identifier of the principal to which the assignment is granted. Supported principals are users, role-assignable groups, and service principals. Supports $filter (eq, in).",
          "nullable": true
        },
        "roleDefinitionId": {
          "type": "string",
          "description": "Identifier of the unifiedRoleDefinition the assignment is for. Read-only. Supports $filter (eq, in).",
          "nullable": true
        },
        "appScope": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.appScope"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Read-only property with details of the app specific scope when the assignment scope is app specific. Containment entity. Supports $expand for the entitlement provider only.",
          "x-ms-navigationProperty": true
        },
        "directoryScope": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.directoryObject"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The directory object that is the scope of the assignment. Read-only. Supports $expand for the directory provider.",
          "x-ms-navigationProperty": true
        },
        "principal": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.directoryObject"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Referencing the assigned principal. Read-only. Supports $expand except for the Exchange provider.",
          "x-ms-navigationProperty": true
        },
        "roleDefinition": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.unifiedRoleDefinition"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "The roleDefinition the assignment is for. Supports $expand.",
          "x-ms-navigationProperty": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.unifiedRoleAssignment"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-graph-microsoftgraphunifiedroleassignment"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.