Microsoft Azure · Capability

Microsoft Azure PurviewManagementClient — DefaultAccount

Microsoft Azure PurviewManagementClient — DefaultAccount. 3 operations. Lead operation: Microsoft Azure Gets The Default Account Information Set For The Scope. Self-contained Naftiko capability covering one Microsoft Azure business surface.

Run with Naftiko Microsoft AzureDefaultAccount

What You Can Do

GET
Microsoftazuredefaultaccountsget — Microsoft Azure Gets The Default Account Information Set For The Scope
/v1/providers/microsoft-purview/getdefaultaccount
POST
Microsoftazuredefaultaccountsremove — Microsoft Azure Removes The Default Account From The Scope
/v1/providers/microsoft-purview/removedefaultaccount
POST
Microsoftazuredefaultaccountsset — Microsoft Azure Sets The Default Account For The Scope
/v1/providers/microsoft-purview/setdefaultaccount

MCP Tools

microsoft-azure-gets-default-account

Microsoft Azure Gets The Default Account Information Set For The Scope

read-only idempotent
microsoft-azure-removes-default-account

Microsoft Azure Removes The Default Account From The Scope

microsoft-azure-sets-default-account

Microsoft Azure Sets The Default Account For The Scope

Capability Spec

purviewmanagementclient-defaultaccount.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Microsoft Azure PurviewManagementClient — DefaultAccount
  description: 'Microsoft Azure PurviewManagementClient — DefaultAccount. 3 operations. Lead operation: Microsoft Azure Gets
    The Default Account Information Set For The Scope. Self-contained Naftiko capability covering one Microsoft Azure business
    surface.'
  tags:
  - Microsoft Azure
  - DefaultAccount
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MICROSOFT_AZURE_API_KEY: MICROSOFT_AZURE_API_KEY
capability:
  consumes:
  - type: http
    namespace: purviewmanagementclient-defaultaccount
    baseUri: https://management.azure.com
    description: Microsoft Azure PurviewManagementClient — DefaultAccount business capability. Self-contained, no shared references.
    resources:
    - name: providers-Microsoft.Purview-getDefaultAccount
      path: /providers/Microsoft.Purview/getDefaultAccount
      operations:
      - name: microsoftazuredefaultaccountsget
        method: GET
        description: Microsoft Azure Gets The Default Account Information Set For The Scope
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: scopeTenantId
          in: query
          type: string
          description: The tenant ID.
          required: true
        - name: scopeType
          in: query
          type: string
          description: The scope for the default account.
          required: true
        - name: scope
          in: query
          type: string
          description: The Id of the scope object, for example if the scope is "Subscription" then it is the ID of that subscription.
    - name: providers-Microsoft.Purview-removeDefaultAccount
      path: /providers/Microsoft.Purview/removeDefaultAccount
      operations:
      - name: microsoftazuredefaultaccountsremove
        method: POST
        description: Microsoft Azure Removes The Default Account From The Scope
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: scopeTenantId
          in: query
          type: string
          description: The tenant ID.
          required: true
        - name: scopeType
          in: query
          type: string
          description: The scope for the default account.
          required: true
        - name: scope
          in: query
          type: string
          description: The Id of the scope object, for example if the scope is "Subscription" then it is the ID of that subscription.
    - name: providers-Microsoft.Purview-setDefaultAccount
      path: /providers/Microsoft.Purview/setDefaultAccount
      operations:
      - name: microsoftazuredefaultaccountsset
        method: POST
        description: Microsoft Azure Sets The Default Account For The Scope
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: defaultAccountPayload
          in: body
          type: string
          description: The payload containing the default account information and the scope.
          required: true
  exposes:
  - type: rest
    namespace: purviewmanagementclient-defaultaccount-rest
    port: 8080
    description: REST adapter for Microsoft Azure PurviewManagementClient — DefaultAccount. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/providers/microsoft-purview/getdefaultaccount
      name: providers-microsoft-purview-getdefaultaccount
      description: REST surface for providers-Microsoft.Purview-getDefaultAccount.
      operations:
      - method: GET
        name: microsoftazuredefaultaccountsget
        description: Microsoft Azure Gets The Default Account Information Set For The Scope
        call: purviewmanagementclient-defaultaccount.microsoftazuredefaultaccountsget
        with:
          scopeTenantId: rest.scopeTenantId
          scopeType: rest.scopeType
          scope: rest.scope
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/providers/microsoft-purview/removedefaultaccount
      name: providers-microsoft-purview-removedefaultaccount
      description: REST surface for providers-Microsoft.Purview-removeDefaultAccount.
      operations:
      - method: POST
        name: microsoftazuredefaultaccountsremove
        description: Microsoft Azure Removes The Default Account From The Scope
        call: purviewmanagementclient-defaultaccount.microsoftazuredefaultaccountsremove
        with:
          scopeTenantId: rest.scopeTenantId
          scopeType: rest.scopeType
          scope: rest.scope
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/providers/microsoft-purview/setdefaultaccount
      name: providers-microsoft-purview-setdefaultaccount
      description: REST surface for providers-Microsoft.Purview-setDefaultAccount.
      operations:
      - method: POST
        name: microsoftazuredefaultaccountsset
        description: Microsoft Azure Sets The Default Account For The Scope
        call: purviewmanagementclient-defaultaccount.microsoftazuredefaultaccountsset
        with:
          defaultAccountPayload: rest.defaultAccountPayload
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: purviewmanagementclient-defaultaccount-mcp
    port: 9090
    transport: http
    description: MCP adapter for Microsoft Azure PurviewManagementClient — DefaultAccount. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: microsoft-azure-gets-default-account
      description: Microsoft Azure Gets The Default Account Information Set For The Scope
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: purviewmanagementclient-defaultaccount.microsoftazuredefaultaccountsget
      with:
        scopeTenantId: tools.scopeTenantId
        scopeType: tools.scopeType
        scope: tools.scope
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-removes-default-account
      description: Microsoft Azure Removes The Default Account From The Scope
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: purviewmanagementclient-defaultaccount.microsoftazuredefaultaccountsremove
      with:
        scopeTenantId: tools.scopeTenantId
        scopeType: tools.scopeType
        scope: tools.scope
      outputParameters:
      - type: object
        mapping: $.
    - name: microsoft-azure-sets-default-account
      description: Microsoft Azure Sets The Default Account For The Scope
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: purviewmanagementclient-defaultaccount.microsoftazuredefaultaccountsset
      with:
        defaultAccountPayload: tools.defaultAccountPayload
      outputParameters:
      - type: object
        mapping: $.