Microsoft Graph · Capability

Microsoft Graph OData Service for namespace microsoft.graph — applications.tokenLifetimePolicy

Microsoft Graph OData Service for namespace microsoft.graph — applications.tokenLifetimePolicy. 6 operations. Lead operation: Microsoft Graph List assigned tokenLifetimePolicies. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft Graphapplications.tokenLifetimePolicy

What You Can Do

GET
Applicationslisttokenlifetimepolicies — Microsoft Graph List assigned tokenLifetimePolicies
/v1/applications/{application-id}/tokenlifetimepolicies
GET
Applicationstokenlifetimepoliciesgetcount5de4 — Microsoft Graph Get the number of the resource
/v1/applications/{application-id}/tokenlifetimepolicies/count
GET
Applicationslistreftokenlifetimepolicies — Microsoft Graph List assigned tokenLifetimePolicies
/v1/applications/{application-id}/tokenlifetimepolicies/ref
POST
Applicationscreatereftokenlifetimepolicies — Microsoft Graph Assign tokenLifetimePolicy
/v1/applications/{application-id}/tokenlifetimepolicies/ref
DELETE
Applicationsdeletereftokenlifetimepolicies — Microsoft Graph Remove tokenLifetimePolicy
/v1/applications/{application-id}/tokenlifetimepolicies/ref
DELETE
Applicationstokenlifetimepoliciesdeletereftokenlifetimepolicy — Microsoft Graph Remove tokenLifetimePolicy
/v1/applications/{application-id}/tokenlifetimepolicies/{tokenlifetimepolicy-id}/ref

MCP Tools

microsoft-graph-list-assigned-tokenlifetimepolicies

Microsoft Graph List assigned tokenLifetimePolicies

read-only idempotent
microsoft-graph-get-number-resource

Microsoft Graph Get the number of the resource

read-only idempotent
microsoft-graph-list-assigned-tokenlifetimepolicies-2

Microsoft Graph List assigned tokenLifetimePolicies

read-only idempotent
microsoft-graph-assign-tokenlifetimepolicy

Microsoft Graph Assign tokenLifetimePolicy

microsoft-graph-remove-tokenlifetimepolicy

Microsoft Graph Remove tokenLifetimePolicy

idempotent
microsoft-graph-remove-tokenlifetimepolicy-2

Microsoft Graph Remove tokenLifetimePolicy

idempotent

Capability Spec

microsoft-graph-applications-tokenlifetimepolicy.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph OData Service for namespace microsoft.graph — applications.tokenLifetimePolicy
  description: 'Microsoft Graph OData Service for namespace microsoft.graph — applications.tokenLifetimePolicy. 6 operations.
    Lead operation: Microsoft Graph List assigned tokenLifetimePolicies. Self-contained Naftiko capability covering one Microsoft
    Graph business surface.'
  tags:
  - Microsoft Graph
  - applications.tokenLifetimePolicy
  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-applications-tokenlifetimepolicy
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph OData Service for namespace microsoft.graph — applications.tokenLifetimePolicy business capability.
      Self-contained, no shared references.
    resources:
    - name: applications-application-id-tokenLifetimePolicies
      path: /applications/{application-id}/tokenLifetimePolicies
      operations:
      - name: applicationslisttokenlifetimepolicies
        method: GET
        description: Microsoft Graph List assigned tokenLifetimePolicies
        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: applications-application-id-tokenLifetimePolicies-$count
      path: /applications/{application-id}/tokenLifetimePolicies/$count
      operations:
      - name: applicationstokenlifetimepoliciesgetcount5de4
        method: GET
        description: Microsoft Graph Get the number of the resource
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: applications-application-id-tokenLifetimePolicies-$ref
      path: /applications/{application-id}/tokenLifetimePolicies/$ref
      operations:
      - name: applicationslistreftokenlifetimepolicies
        method: GET
        description: Microsoft Graph List assigned tokenLifetimePolicies
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: $orderby
          in: query
          type: array
          description: Order items by property values
      - name: applicationscreatereftokenlifetimepolicies
        method: POST
        description: Microsoft Graph Assign tokenLifetimePolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: applicationsdeletereftokenlifetimepolicies
        method: DELETE
        description: Microsoft Graph Remove tokenLifetimePolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
        - name: '@id'
          in: query
          type: string
          description: The delete Uri
          required: true
    - name: applications-application-id-tokenLifetimePolicies-tokenLifetimePolicy-id-$ref
      path: /applications/{application-id}/tokenLifetimePolicies/{tokenLifetimePolicy-id}/$ref
      operations:
      - name: applicationstokenlifetimepoliciesdeletereftokenlifetimepolicy
        method: DELETE
        description: Microsoft Graph Remove tokenLifetimePolicy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: If-Match
          in: header
          type: string
          description: ETag
  exposes:
  - type: rest
    namespace: microsoft-graph-applications-tokenlifetimepolicy-rest
    port: 8080
    description: REST adapter for Microsoft Graph OData Service for namespace microsoft.graph — applications.tokenLifetimePolicy.
      One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/applications/{application-id}/tokenlifetimepolicies
      name: applications-application-id-tokenlifetimepolicies
      description: REST surface for applications-application-id-tokenLifetimePolicies.
      operations:
      - method: GET
        name: applicationslisttokenlifetimepolicies
        description: Microsoft Graph List assigned tokenLifetimePolicies
        call: microsoft-graph-applications-tokenlifetimepolicy.applicationslisttokenlifetimepolicies
        with:
          $orderby: rest.$orderby
          $select: rest.$select
          $expand: rest.$expand
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/tokenlifetimepolicies/count
      name: applications-application-id-tokenlifetimepolicies-count
      description: REST surface for applications-application-id-tokenLifetimePolicies-$count.
      operations:
      - method: GET
        name: applicationstokenlifetimepoliciesgetcount5de4
        description: Microsoft Graph Get the number of the resource
        call: microsoft-graph-applications-tokenlifetimepolicy.applicationstokenlifetimepoliciesgetcount5de4
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/tokenlifetimepolicies/ref
      name: applications-application-id-tokenlifetimepolicies-ref
      description: REST surface for applications-application-id-tokenLifetimePolicies-$ref.
      operations:
      - method: GET
        name: applicationslistreftokenlifetimepolicies
        description: Microsoft Graph List assigned tokenLifetimePolicies
        call: microsoft-graph-applications-tokenlifetimepolicy.applicationslistreftokenlifetimepolicies
        with:
          $orderby: rest.$orderby
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: applicationscreatereftokenlifetimepolicies
        description: Microsoft Graph Assign tokenLifetimePolicy
        call: microsoft-graph-applications-tokenlifetimepolicy.applicationscreatereftokenlifetimepolicies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: applicationsdeletereftokenlifetimepolicies
        description: Microsoft Graph Remove tokenLifetimePolicy
        call: microsoft-graph-applications-tokenlifetimepolicy.applicationsdeletereftokenlifetimepolicies
        with:
          If-Match: rest.If-Match
          '@id': rest.@id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/applications/{application-id}/tokenlifetimepolicies/{tokenlifetimepolicy-id}/ref
      name: applications-application-id-tokenlifetimepolicies-tokenlifetimepolicy-id-ref
      description: REST surface for applications-application-id-tokenLifetimePolicies-tokenLifetimePolicy-id-$ref.
      operations:
      - method: DELETE
        name: applicationstokenlifetimepoliciesdeletereftokenlifetimepolicy
        description: Microsoft Graph Remove tokenLifetimePolicy
        call: microsoft-graph-applications-tokenlifetimepolicy.applicationstokenlifetimepoliciesdeletereftokenlifetimepolicy
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: microsoft-graph-applications-tokenlifetimepolicy-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph OData Service for namespace microsoft.graph — applications.tokenLifetimePolicy.
      One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: microsoft-graph-list-assigned-tokenlifetimepolicies
      description: Microsoft Graph List assigned tokenLifetimePolicies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-applications-tokenlifetimepolicy.applicationslisttokenlifetimepolicies
      with:
        $orderby: tools.$orderby
        $select: tools.$select
        $expand: tools.$expand
      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-applications-tokenlifetimepolicy.applicationstokenlifetimepoliciesgetcount5de4
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-list-assigned-tokenlifetimepolicies-2
      description: Microsoft Graph List assigned tokenLifetimePolicies
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: microsoft-graph-applications-tokenlifetimepolicy.applicationslistreftokenlifetimepolicies
      with:
        $orderby: tools.$orderby
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-assign-tokenlifetimepolicy
      description: Microsoft Graph Assign tokenLifetimePolicy
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: microsoft-graph-applications-tokenlifetimepolicy.applicationscreatereftokenlifetimepolicies
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-remove-tokenlifetimepolicy
      description: Microsoft Graph Remove tokenLifetimePolicy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-applications-tokenlifetimepolicy.applicationsdeletereftokenlifetimepolicies
      with:
        If-Match: tools.If-Match
        '@id': tools.@id
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-graph-remove-tokenlifetimepolicy-2
      description: Microsoft Graph Remove tokenLifetimePolicy
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: microsoft-graph-applications-tokenlifetimepolicy.applicationstokenlifetimepoliciesdeletereftokenlifetimepolicy
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.