Microsoft Graph · Schema

microsoft.graph.permission

Microsoft GraphAzure ADCollaborationContactsDocumentsEmailGraphIdentityMicrosoftOffice 365PresentationsProductivitySpreadsheetsT1Task

Properties

Name Type Description
expirationDateTime string A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there's no expiration set for this permission. Optional.
grantedTo object For user type permissions, the details of the users and applications for this permission. Read-only.
grantedToIdentities array For type permissions, the details of the users to whom permission was granted. Read-only.
grantedToIdentitiesV2 array For link type permissions, the details of the users to whom permission was granted. Read-only.
grantedToV2 object For user type permissions, the details of the users and applications for this permission. Read-only.
hasPassword boolean Indicates whether the password is set for this permission. This property only appears in the response. Optional. Read-only. For OneDrive Personal only..
inheritedFrom object Provides a reference to the ancestor of the current permission, if it's inherited from an ancestor. Read-only.
invitation object Details of any associated sharing invitation for this permission. Read-only.
link object Provides the link details of the current permission, if it's a link type permission. Read-only.
roles array The type of permission, for example, read. See below for the full list of roles. Read-only.
shareId string A unique token that can be used to access this shared item via the shares API. Read-only.
@odata.type string
View JSON Schema on GitHub

JSON Schema

microsoft-graph-microsoftgraphpermission-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/microsoft.graph.permission",
  "title": "microsoft.graph.permission",
  "allOf": [
    {
      "$ref": "#/components/schemas/microsoft.graph.entity"
    },
    {
      "title": "permission",
      "required": [
        "@odata.type"
      ],
      "type": "object",
      "properties": {
        "expirationDateTime": {
          "pattern": "^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$",
          "type": "string",
          "description": "A format of yyyy-MM-ddTHH:mm:ssZ of DateTimeOffset indicates the expiration time of the permission. DateTime.MinValue indicates there's no expiration set for this permission. Optional.",
          "format": "date-time",
          "nullable": true
        },
        "grantedTo": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.identitySet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "For user type permissions, the details of the users and applications for this permission. Read-only."
        },
        "grantedToIdentities": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.identitySet"
          },
          "description": "For type permissions, the details of the users to whom permission was granted. Read-only."
        },
        "grantedToIdentitiesV2": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/microsoft.graph.sharePointIdentitySet"
          },
          "description": "For link type permissions, the details of the users to whom permission was granted. Read-only."
        },
        "grantedToV2": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.sharePointIdentitySet"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "For user type permissions, the details of the users and applications for this permission. Read-only."
        },
        "hasPassword": {
          "type": "boolean",
          "description": "Indicates whether the password is set for this permission. This property only appears in the response. Optional. Read-only. For OneDrive Personal only..",
          "nullable": true
        },
        "inheritedFrom": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.itemReference"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Provides a reference to the ancestor of the current permission, if it's inherited from an ancestor. Read-only."
        },
        "invitation": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.sharingInvitation"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Details of any associated sharing invitation for this permission. Read-only."
        },
        "link": {
          "anyOf": [
            {
              "$ref": "#/components/schemas/microsoft.graph.sharingLink"
            },
            {
              "type": "object",
              "nullable": true
            }
          ],
          "description": "Provides the link details of the current permission, if it's a link type permission. Read-only."
        },
        "roles": {
          "type": "array",
          "items": {
            "type": "string",
            "nullable": true
          },
          "description": "The type of permission, for example, read. See below for the full list of roles. Read-only."
        },
        "shareId": {
          "type": "string",
          "description": "A unique token that can be used to access this shared item via the shares API. Read-only.",
          "nullable": true
        },
        "@odata.type": {
          "type": "string"
        }
      }
    }
  ],
  "x-ms-discriminator-value": "#microsoft.graph.permission"
}

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-microsoftgraphpermission"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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