Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — users.resourceSpecificPermissionGrant

Microsoft Graph OData Service for namespace microsoft.graph — users.resourceSpecificPermissionGrant. 6 operations. Lead operation: Microsoft Graph List permissionGrants of a user. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphusers.resourceSpecificPermissionGrant

What You Can Do

GET
Userslistpermissiongrants — Microsoft Graph List permissionGrants of a user
/v1/users/{user-id}/permissiongrants
POST
Userscreatepermissiongrants — Microsoft Graph Create new navigation property to permissionGrants for users
/v1/users/{user-id}/permissiongrants
GET
Userspermissiongrantsgetcount07aa — Microsoft Graph Get the number of the resource
/v1/users/{user-id}/permissiongrants/count
GET
Usersgetpermissiongrants — Microsoft Graph Get permissionGrants from users
/v1/users/{user-id}/permissiongrants/{resourcespecificpermissiongrant-id}
PATCH
Usersupdatepermissiongrants — Microsoft Graph Update the navigation property permissionGrants in users
/v1/users/{user-id}/permissiongrants/{resourcespecificpermissiongrant-id}
DELETE
Usersdeletepermissiongrants — Microsoft Graph Delete navigation property permissionGrants for users
/v1/users/{user-id}/permissiongrants/{resourcespecificpermissiongrant-id}

MCP Tools

microsoft-graph-list-permissiongrants-user

Microsoft Graph List permissionGrants of a user

read-only idempotent
microsoft-graph-create-new-navigation

Microsoft Graph Create new navigation property to permissionGrants for users

microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-get-permissiongrants-users

Microsoft Graph Get permissionGrants from users

read-only idempotent
microsoft-graph-update-navigation-property

Microsoft Graph Update the navigation property permissionGrants in users

idempotent
microsoft-graph-delete-navigation-property

Microsoft Graph Delete navigation property permissionGrants for users

idempotent

Capability Spec

microsoft-graph-users-resourcespecificpermissiongrant.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — users.resourceSpecificPermissionGrant
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — users.resourceSpecificPermissionGrant. 6 operations.
    Lead operation: Microsoft Graph List permissionGrants of a user. Self-contained Naftiko capability covering one Microsoft
    Graph business surface.'
  tags:
  - Microsoft Graph
  - users.resourceSpecificPermissionGrant
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY
capability:
  consumes:
  - type: http
    namespace: microsoft-graph-users-resourcespecificpermissiongrant
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — users.resourceSpecificPermissionGrant business
      capability. Self-contained, no shared references.
    resources:
    - name: users-user-id-permissionGrants
      path: /users/{user-id}/permissionGrants
      operations:
      - name: userslistpermissiongrants
        method: GET
        description: Microsoft Graph List permissionGrants of a user
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: userscreatepermissiongrants
        method: POST
        description: Microsoft Graph Create new navigation property to permissionGrants for users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: users-user-id-permissionGrants-$count
      path: /users/{user-id}/permissionGrants/$count
      operations:
      - name: userspermissiongrantsgetcount07aa
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: users-user-id-permissionGrants-resourceSpecificPermissionGrant-id
      path: /users/{user-id}/permissionGrants/{resourceSpecificPermissionGrant-id}
      operations:
      - name: usersgetpermissiongrants
        method: GET
        description: Microsoft Graph Get permissionGrants from users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $select
          in: query
          type: array
          description: Select properties to be returned
        - name: $expand
          in: query
          type: array
          description: Expand related entities
      - name: usersupdatepermissiongrants
        method: PATCH
        description: Microsoft Graph Update the navigation property permissionGrants in users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: usersdeletepermissiongrants
        method: DELETE
        description: Microsoft Graph Delete navigation property permissionGrants for users
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
  exposes:
  - type: rest
    namespace: microsoft-graph-users-resourcespecificpermissiongrant-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — users.resourceSpecificPermissionGrant.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/users/{user-id}/permissiongrants
      name: users-user-id-permissiongrants
      description: REST surface for users-user-id-permissionGrants.
      operations:
      - method: GET
        name: userslistpermissiongrants
        description: Microsoft Graph List permissionGrants of a user
        call: microsoft-graph-users-resourcespecificpermissiongrant.userslistpermissiongrants
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: userscreatepermissiongrants
        description: Microsoft Graph Create new navigation property to permissionGrants for users
        call: microsoft-graph-users-resourcespecificpermissiongrant.userscreatepermissiongrants
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/permissiongrants/count
      name: users-user-id-permissiongrants-count
      description: REST surface for users-user-id-permissionGrants-$count.
      operations:
      - method: GET
        name: userspermissiongrantsgetcount07aa
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-users-resourcespecificpermissiongrant.userspermissiongrantsgetcount07aa
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{user-id}/permissiongrants/{resourcespecificpermissiongrant-id}
      name: users-user-id-permissiongrants-resourcespecificpermissiongrant-id
      description: REST surface for users-user-id-permissionGrants-resourceSpecificPermissionGrant-id.
      operations:
      - method: GET
        name: usersgetpermissiongrants
        description: Microsoft Graph Get permissionGrants from users
        call: microsoft-graph-users-resourcespecificpermissiongrant.usersgetpermissiongrants
        with:
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: usersupdatepermissiongrants
        description: Microsoft Graph Update the navigation property permissionGrants in users
        call: microsoft-graph-users-resourcespecificpermissiongrant.usersupdatepermissiongrants
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: usersdeletepermissiongrants
        description: Microsoft Graph Delete navigation property permissionGrants for users
        call: microsoft-graph-users-resourcespecificpermissiongrant.usersdeletepermissiongrants
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-users-resourcespecificpermissiongrant-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — users.resourceSpecificPermissionGrant.
      One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-list-permissiongrants-user
      description: Microsoft Graph List permissionGrants of a user
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-users-resourcespecificpermissiongrant.userslistpermissiongrants
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-create-new-navigation
      description: Microsoft Graph Create new navigation property to permissionGrants for users
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-users-resourcespecificpermissiongrant.userscreatepermissiongrants
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-number-resource
      description: Microsoft Graph Get the number of the resource
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-users-resourcespecificpermissiongrant.userspermissiongrantsgetcount07aa
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-get-permissiongrants-users
      description: Microsoft Graph Get permissionGrants from users
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-users-resourcespecificpermissiongrant.usersgetpermissiongrants
      with:
        $select: tools.$select
        $expand: tools.$expand
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-update-navigation-property
      description: Microsoft Graph Update the navigation property permissionGrants in users
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: microsoft-graph-users-resourcespecificpermissiongrant.usersupdatepermissiongrants
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-delete-navigation-property
      description: Microsoft Graph Delete navigation property permissionGrants for users
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-users-resourcespecificpermissiongrant.usersdeletepermissiongrants
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.