Microsoft Azure API Management · Arazzo Workflow

Azure API Management Provision Workspace Product and Subscription

Version 1.0.0

Create a workspace product, create a subscription scoped to it, then read the subscription.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub A2AAI GatewayAPI CenterAPI GatewayAPI ManagementEnterpriseMCPMicrosoft AzureArazzoWorkflows

Provider

microsoft-azure-api-management

Workflows

provision-workspace-product-subscription
Create a workspace product and a subscription to it.
Creates or updates a workspace product, creates a subscription scoped to it, then reads the subscription to confirm.
3 steps inputs: displayName, productId, productName, resourceGroupName, serviceName, sid, subscriptionId, workspaceId outputs: productResourceId, subscriptionResourceId
1
createWorkspaceProduct
Create or update the workspace-scoped product.
2
createWorkspaceSubscription
Create the subscription scoped to the workspace product.
3
getWorkspaceSubscription
Read the subscription back to confirm it was issued.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Azure API Management Provision Workspace Product and Subscription
  summary: Create a workspace product, create a subscription scoped to it, then read the subscription.
  description: >-
    Packages and grants access within an isolated workspace. The workflow
    creates or updates a workspace-scoped product, creates a subscription scoped
    to that product, then reads the subscription back to confirm it was issued.
    Every step spells out its request inline so the flow can be read and
    executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: productApi
  url: ../openapi/microsoft-azure-api-management-product-api-openapi.yml
  type: openapi
- name: subscriptionApi
  url: ../openapi/microsoft-azure-api-management-subscription-api-openapi.yml
  type: openapi
workflows:
- workflowId: provision-workspace-product-subscription
  summary: Create a workspace product and a subscription to it.
  description: >-
    Creates or updates a workspace product, creates a subscription scoped to it,
    then reads the subscription to confirm.
  inputs:
    type: object
    required:
    - subscriptionId
    - resourceGroupName
    - serviceName
    - workspaceId
    - productId
    - sid
    - displayName
    properties:
      subscriptionId:
        type: string
        description: The Azure subscription identifier.
      resourceGroupName:
        type: string
        description: The resource group containing the service.
      serviceName:
        type: string
        description: The API Management service name.
      workspaceId:
        type: string
        description: The workspace identifier.
      productId:
        type: string
        description: The workspace product identifier to create.
      productName:
        type: string
        description: The product display name.
      sid:
        type: string
        description: The subscription identifier to create.
      displayName:
        type: string
        description: The subscription display name.
  steps:
  - stepId: createWorkspaceProduct
    description: >-
      Create or update the workspace-scoped product.
    operationId: WorkspaceProduct_CreateOrUpdate
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: workspaceId
      in: path
      value: $inputs.workspaceId
    - name: productId
      in: path
      value: $inputs.productId
    requestBody:
      contentType: application/json
      payload:
        properties:
          displayName: $inputs.productName
          subscriptionRequired: true
          state: published
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      productResourceId: $response.body#/id
  - stepId: createWorkspaceSubscription
    description: >-
      Create the subscription scoped to the workspace product.
    operationId: WorkspaceSubscription_CreateOrUpdate
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: workspaceId
      in: path
      value: $inputs.workspaceId
    - name: sid
      in: path
      value: $inputs.sid
    requestBody:
      contentType: application/json
      payload:
        properties:
          scope: $steps.createWorkspaceProduct.outputs.productResourceId
          displayName: $inputs.displayName
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      subscriptionResourceId: $response.body#/id
  - stepId: getWorkspaceSubscription
    description: >-
      Read the subscription back to confirm it was issued.
    operationId: WorkspaceSubscription_Get
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: workspaceId
      in: path
      value: $inputs.workspaceId
    - name: sid
      in: path
      value: $inputs.sid
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      subscriptionResourceId: $response.body#/id
  outputs:
    productResourceId: $steps.createWorkspaceProduct.outputs.productResourceId
    subscriptionResourceId: $steps.createWorkspaceSubscription.outputs.subscriptionResourceId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/microsoft-azure-api-management-provision-workspace-product-subscription-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.