Microsoft Power Platform REST API — Applications

Microsoft Power Platform REST API — Applications. 4 operations. Lead operation: Get Tenant Application Packages. Self-contained Naftiko capability covering one Power Platform business surface.

Run with Naftiko Power PlatformApplications

What You Can Do

GET
Gettenantapplicationpackages — Get Tenant Application Packages
/v1/appmanagement/applicationpackages
GET
Getenvironmentapplicationpackages — Get Environment Application Packages
/v1/appmanagement/environments/{environmentid}/applicationpackages
POST
Installapplicationpackage — Install Application Package
/v1/appmanagement/environments/{environmentid}/applicationpackages/{applicationpackageid}/install
GET
Getapplicationpackageinstallstatus — Get Application Package Install Status
/v1/appmanagement/environments/{environmentid}/operations/{operationid}

MCP Tools

get-tenant-application-packages

Get Tenant Application Packages

read-only idempotent
get-environment-application-packages

Get Environment Application Packages

read-only idempotent
install-application-package

Install Application Package

get-application-package-install-status

Get Application Package Install Status

read-only idempotent

Capability Spec

power-platform-applications.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Power Platform REST API — Applications
  description: 'Microsoft Power Platform REST API — Applications. 4 operations. Lead operation: Get Tenant Application Packages.
    Self-contained Naftiko capability covering one Power Platform business surface.'
  tags:
  - Power Platform
  - Applications
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    POWER_PLATFORM_API_KEY: POWER_PLATFORM_API_KEY
capability:
  consumes:
  - type: http
    namespace: power-platform-applications
    baseUri: https://api.powerplatform.com
    description: Microsoft Power Platform REST API — Applications business capability. Self-contained, no shared references.
    resources:
    - name: appmanagement-applicationPackages
      path: /appmanagement/applicationPackages
      operations:
      - name: gettenantapplicationpackages
        method: GET
        description: Get Tenant Application Packages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api-version
          in: query
          type: string
          description: The API version to use for this request.
          required: true
    - name: appmanagement-environments-environmentId-applicationPackages
      path: /appmanagement/environments/{environmentId}/applicationPackages
      operations:
      - name: getenvironmentapplicationpackages
        method: GET
        description: Get Environment Application Packages
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentId
          in: path
          type: string
          description: The unique identifier of the target environment.
          required: true
        - name: api-version
          in: query
          type: string
          description: The API version to use for this request.
          required: true
    - name: appmanagement-environments-environmentId-applicationPackages-applicationPackageI
      path: /appmanagement/environments/{environmentId}/applicationPackages/{applicationPackageId}/install
      operations:
      - name: installapplicationpackage
        method: POST
        description: Install Application Package
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentId
          in: path
          type: string
          description: The unique identifier of the target environment.
          required: true
        - name: applicationPackageId
          in: path
          type: string
          description: The unique identifier of the application package to install.
          required: true
        - name: api-version
          in: query
          type: string
          description: The API version to use for this request.
          required: true
    - name: appmanagement-environments-environmentId-operations-operationId
      path: /appmanagement/environments/{environmentId}/operations/{operationId}
      operations:
      - name: getapplicationpackageinstallstatus
        method: GET
        description: Get Application Package Install Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: environmentId
          in: path
          type: string
          description: The unique identifier of the target environment.
          required: true
        - name: operationId
          in: path
          type: string
          description: The unique identifier of the installation operation.
          required: true
        - name: api-version
          in: query
          type: string
          description: The API version to use for this request.
          required: true
    authentication:
      type: bearer
      token: '{{env.POWER_PLATFORM_API_KEY}}'
  exposes:
  - type: rest
    namespace: power-platform-applications-rest
    port: 8080
    description: REST adapter for Microsoft Power Platform REST API — Applications. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/appmanagement/applicationpackages
      name: appmanagement-applicationpackages
      description: REST surface for appmanagement-applicationPackages.
      operations:
      - method: GET
        name: gettenantapplicationpackages
        description: Get Tenant Application Packages
        call: power-platform-applications.gettenantapplicationpackages
        with:
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/appmanagement/environments/{environmentid}/applicationpackages
      name: appmanagement-environments-environmentid-applicationpackages
      description: REST surface for appmanagement-environments-environmentId-applicationPackages.
      operations:
      - method: GET
        name: getenvironmentapplicationpackages
        description: Get Environment Application Packages
        call: power-platform-applications.getenvironmentapplicationpackages
        with:
          environmentId: rest.environmentId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/appmanagement/environments/{environmentid}/applicationpackages/{applicationpackageid}/install
      name: appmanagement-environments-environmentid-applicationpackages-applicationpackagei
      description: REST surface for appmanagement-environments-environmentId-applicationPackages-applicationPackageI.
      operations:
      - method: POST
        name: installapplicationpackage
        description: Install Application Package
        call: power-platform-applications.installapplicationpackage
        with:
          environmentId: rest.environmentId
          applicationPackageId: rest.applicationPackageId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/appmanagement/environments/{environmentid}/operations/{operationid}
      name: appmanagement-environments-environmentid-operations-operationid
      description: REST surface for appmanagement-environments-environmentId-operations-operationId.
      operations:
      - method: GET
        name: getapplicationpackageinstallstatus
        description: Get Application Package Install Status
        call: power-platform-applications.getapplicationpackageinstallstatus
        with:
          environmentId: rest.environmentId
          operationId: rest.operationId
          api-version: rest.api-version
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: power-platform-applications-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Power Platform REST API — Applications. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: get-tenant-application-packages
      description: Get Tenant Application Packages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: power-platform-applications.gettenantapplicationpackages
      with:
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: get-environment-application-packages
      description: Get Environment Application Packages
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: power-platform-applications.getenvironmentapplicationpackages
      with:
        environmentId: tools.environmentId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: install-application-package
      description: Install Application Package
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: power-platform-applications.installapplicationpackage
      with:
        environmentId: tools.environmentId
        applicationPackageId: tools.applicationPackageId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.
    - name: get-application-package-install-status
      description: Get Application Package Install Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: power-platform-applications.getapplicationpackageinstallstatus
      with:
        environmentId: tools.environmentId
        operationId: tools.operationId
        api-version: tools.api-version
      outputParameters:
      - type: object
        mapping: $.