Microsoft Graph · Capability

Microsoft Graph Applications API — Applications Token Lifetime Policies

Microsoft Graph Applications API — Applications Token Lifetime Policies. 6 operations. Lead operation: Microsoft Graph List assigned tokenLifetimePolicies. Self-contained Naftiko capability covering one Microsoft Graph business surface.

Run with Naftiko Microsoft GraphApplications Token Lifetime Policies

What You Can Do

GET
Getapplicationstokenlifetimepolicies — Microsoft Graph List assigned tokenLifetimePolicies
/v1/applications/{application-id}/tokenlifetimepolicies
GET
Countapplicationstokenlifetimepolicies — Microsoft Graph Get the number of the resource
/v1/applications/{application-id}/tokenlifetimepolicies/count
GET
Getapplicationstokenlifetimepolicies1 — Microsoft Graph List assigned tokenLifetimePolicies
/v1/applications/{application-id}/tokenlifetimepolicies/ref
POST
Createapplicationstokenlifetimepolicies — Microsoft Graph Assign tokenLifetimePolicy
/v1/applications/{application-id}/tokenlifetimepolicies/ref
DELETE
Deleteapplicationstokenlifetimepolicies1 — Microsoft Graph Remove tokenLifetimePolicy
/v1/applications/{application-id}/tokenlifetimepolicies/ref
DELETE
Deleteapplicationstokenlifetimepolicies — 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

applications-applications-token-lifetime-policies.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Graph Applications API — Applications Token Lifetime Policies
  description: 'Microsoft Graph Applications API — Applications Token Lifetime Policies. 6 operations. Lead operation: Microsoft
    Graph List assigned tokenLifetimePolicies. Self-contained Naftiko capability covering one Microsoft Graph business surface.'
  tags:
  - Microsoft Graph
  - Applications Token Lifetime Policies
  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: applications-applications-token-lifetime-policies
    baseUri: https://graph.microsoft.com/v1.0
    description: Microsoft Graph Applications API — Applications Token Lifetime Policies business capability. Self-contained,
      no shared references.
    resources:
    - name: applications-application-id-tokenLifetimePolicies
      path: /applications/{application-id}/tokenLifetimePolicies
      operations:
      - name: getapplicationstokenlifetimepolicies
        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: countapplicationstokenlifetimepolicies
        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: getapplicationstokenlifetimepolicies1
        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: createapplicationstokenlifetimepolicies
        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: deleteapplicationstokenlifetimepolicies1
        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: deleteapplicationstokenlifetimepolicies
        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: applications-applications-token-lifetime-policies-rest
    port: 8080
    description: REST adapter for Microsoft Graph Applications API — Applications Token Lifetime Policies. 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: getapplicationstokenlifetimepolicies
        description: Microsoft Graph List assigned tokenLifetimePolicies
        call: applications-applications-token-lifetime-policies.getapplicationstokenlifetimepolicies
        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: countapplicationstokenlifetimepolicies
        description: Microsoft Graph Get the number of the resource
        call: applications-applications-token-lifetime-policies.countapplicationstokenlifetimepolicies
        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: getapplicationstokenlifetimepolicies1
        description: Microsoft Graph List assigned tokenLifetimePolicies
        call: applications-applications-token-lifetime-policies.getapplicationstokenlifetimepolicies1
        with:
          $orderby: rest.$orderby
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createapplicationstokenlifetimepolicies
        description: Microsoft Graph Assign tokenLifetimePolicy
        call: applications-applications-token-lifetime-policies.createapplicationstokenlifetimepolicies
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteapplicationstokenlifetimepolicies1
        description: Microsoft Graph Remove tokenLifetimePolicy
        call: applications-applications-token-lifetime-policies.deleteapplicationstokenlifetimepolicies1
        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: deleteapplicationstokenlifetimepolicies
        description: Microsoft Graph Remove tokenLifetimePolicy
        call: applications-applications-token-lifetime-policies.deleteapplicationstokenlifetimepolicies
        with:
          If-Match: rest.If-Match
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: applications-applications-token-lifetime-policies-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Graph Applications API — Applications Token Lifetime Policies. 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: applications-applications-token-lifetime-policies.getapplicationstokenlifetimepolicies
      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: applications-applications-token-lifetime-policies.countapplicationstokenlifetimepolicies
      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: applications-applications-token-lifetime-policies.getapplicationstokenlifetimepolicies1
      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: applications-applications-token-lifetime-policies.createapplicationstokenlifetimepolicies
      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: applications-applications-token-lifetime-policies.deleteapplicationstokenlifetimepolicies1
      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: applications-applications-token-lifetime-policies.deleteapplicationstokenlifetimepolicies
      with:
        If-Match: tools.If-Match
      outputParameters:
      - type: object
        mapping: $.