Microsoft Power Apps · Capability

Microsoft Power Apps Microsoft Dataverse Web API — Accounts

Microsoft Power Apps Microsoft Dataverse Web API — Accounts. 5 operations. Lead operation: Microsoft Power Apps Retrieve Multiple Accounts. Self-contained Naftiko capability covering one Microsoft Power Apps business surface.

Run with Naftiko Microsoft Power AppsAccounts

What You Can Do

GET
Getaccounts — Microsoft Power Apps Retrieve Multiple Accounts
/v1/accounts
POST
Createaccount — Microsoft Power Apps Create a New Account
/v1/accounts
GET
Getaccount — Microsoft Power Apps Retrieve a Single Account
/v1/accounts-accountid
PATCH
Updateaccount — Microsoft Power Apps Update an Existing Account
/v1/accounts-accountid
DELETE
Deleteaccount — Microsoft Power Apps Delete an Account
/v1/accounts-accountid

MCP Tools

microsoft-power-apps-retrieve-multiple

Microsoft Power Apps Retrieve Multiple Accounts

read-only idempotent
microsoft-power-apps-create-new

Microsoft Power Apps Create a New Account

microsoft-power-apps-retrieve-single

Microsoft Power Apps Retrieve a Single Account

read-only idempotent
microsoft-power-apps-update-existing

Microsoft Power Apps Update an Existing Account

idempotent
microsoft-power-apps-delete-account

Microsoft Power Apps Delete an Account

idempotent

Capability Spec

dataverse-web-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Power Apps Microsoft Dataverse Web API — Accounts
  description: 'Microsoft Power Apps Microsoft Dataverse Web API — Accounts. 5 operations. Lead operation: Microsoft Power
    Apps Retrieve Multiple Accounts. Self-contained Naftiko capability covering one Microsoft Power Apps business surface.'
  tags:
  - Microsoft Power Apps
  - Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_POWER_APPS_API_KEY: MICROSOFT_POWER_APPS_API_KEY
capability:
  consumes:
  - type: http
    namespace: dataverse-web-accounts
    baseUri: https://{organization}.api.crm.dynamics.com/api/data/v9.2
    description: Microsoft Power Apps Microsoft Dataverse Web API — Accounts business capability. Self-contained, no shared
      references.
    resources:
    - name: accounts
      path: /accounts
      operations:
      - name: getaccounts
        method: GET
        description: Microsoft Power Apps Retrieve Multiple Accounts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createaccount
        method: POST
        description: Microsoft Power Apps Create a New Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: accounts({accountid})
      path: /accounts({accountid})
      operations:
      - name: getaccount
        method: GET
        description: Microsoft Power Apps Retrieve a Single Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountid
          in: path
          type: string
          description: Unique identifier (GUID) of the account record.
          required: true
      - name: updateaccount
        method: PATCH
        description: Microsoft Power Apps Update an Existing Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountid
          in: path
          type: string
          description: Unique identifier (GUID) of the account record.
          required: true
        - name: If-Match
          in: header
          type: string
          description: Used for optimistic concurrency control. Set to the ETag value of the record to ensure you are updating
            the latest version.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deleteaccount
        method: DELETE
        description: Microsoft Power Apps Delete an Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: accountid
          in: path
          type: string
          description: Unique identifier (GUID) of the account record.
          required: true
    authentication:
      type: bearer
      token: '{{env.MICROSOFT_POWER_APPS_API_KEY}}'
  exposes:
  - type: rest
    namespace: dataverse-web-accounts-rest
    port: 8080
    description: REST adapter for Microsoft Power Apps Microsoft Dataverse Web API — Accounts. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/accounts
      name: accounts
      description: REST surface for accounts.
      operations:
      - method: GET
        name: getaccounts
        description: Microsoft Power Apps Retrieve Multiple Accounts
        call: dataverse-web-accounts.getaccounts
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createaccount
        description: Microsoft Power Apps Create a New Account
        call: dataverse-web-accounts.createaccount
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/accounts-accountid
      name: accounts-accountid
      description: REST surface for accounts({accountid}).
      operations:
      - method: GET
        name: getaccount
        description: Microsoft Power Apps Retrieve a Single Account
        call: dataverse-web-accounts.getaccount
        with:
          accountid: rest.accountid
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updateaccount
        description: Microsoft Power Apps Update an Existing Account
        call: dataverse-web-accounts.updateaccount
        with:
          accountid: rest.accountid
          If-Match: rest.If-Match
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteaccount
        description: Microsoft Power Apps Delete an Account
        call: dataverse-web-accounts.deleteaccount
        with:
          accountid: rest.accountid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: dataverse-web-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Power Apps Microsoft Dataverse Web API — Accounts. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-power-apps-retrieve-multiple
      description: Microsoft Power Apps Retrieve Multiple Accounts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dataverse-web-accounts.getaccounts
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-apps-create-new
      description: Microsoft Power Apps Create a New Account
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: dataverse-web-accounts.createaccount
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-apps-retrieve-single
      description: Microsoft Power Apps Retrieve a Single Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: dataverse-web-accounts.getaccount
      with:
        accountid: tools.accountid
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-apps-update-existing
      description: Microsoft Power Apps Update an Existing Account
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: dataverse-web-accounts.updateaccount
      with:
        accountid: tools.accountid
        If-Match: tools.If-Match
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-power-apps-delete-account
      description: Microsoft Power Apps Delete an Account
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: dataverse-web-accounts.deleteaccount
      with:
        accountid: tools.accountid
      outputParameters:
      - type: object
        mapping: $.