Microsoft Azure API Management · Arazzo Workflow

Azure API Management Link Product to Group

Version 1.0.0

Confirm a product and a group exist, then grant the group access to the product.

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

Provider

microsoft-azure-api-management

Workflows

link-product-group
Grant a developer group access to a product.
Confirms the product and group exist, links the group to the product, then lists the product's groups to confirm the grant.
4 steps inputs: groupId, productId, resourceGroupName, serviceName, subscriptionId outputs: groupCount, linkResourceId
1
getProduct
Read the product to confirm it exists before granting group access.
2
getGroup
Read the group to confirm it exists before linking it to the product.
3
linkGroup
Create the product-group link that grants the group access to the product.
4
listProductGroups
List the product's groups to confirm the new grant is present.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Azure API Management Link Product to Group
  summary: Confirm a product and a group exist, then grant the group access to the product.
  description: >-
    Grants a developer group access to a product so its members can subscribe.
    The workflow reads the product and the group to confirm both exist, creates
    a product-group link, then lists the product's groups to confirm the grant.
    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: groupApi
  url: ../openapi/microsoft-azure-api-management-group-api-openapi.yml
  type: openapi
- name: productApi
  url: ../openapi/microsoft-azure-api-management-product-api-openapi.yml
  type: openapi
- name: productgroupApi
  url: ../openapi/microsoft-azure-api-management-productgroup-api-openapi.yml
  type: openapi
- name: productgrouplinkApi
  url: ../openapi/microsoft-azure-api-management-productgrouplink-api-openapi.yml
  type: openapi
workflows:
- workflowId: link-product-group
  summary: Grant a developer group access to a product.
  description: >-
    Confirms the product and group exist, links the group to the product, then
    lists the product's groups to confirm the grant.
  inputs:
    type: object
    required:
    - subscriptionId
    - resourceGroupName
    - serviceName
    - productId
    - groupId
    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.
      productId:
        type: string
        description: The product identifier to grant access to.
      groupId:
        type: string
        description: The group identifier being granted access.
  steps:
  - stepId: getProduct
    description: >-
      Read the product to confirm it exists before granting group access.
    operationId: Product_Get
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: productId
      in: path
      value: $inputs.productId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      productResourceId: $response.body#/id
  - stepId: getGroup
    description: >-
      Read the group to confirm it exists before linking it to the product.
    operationId: Group_Get
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: groupId
      in: path
      value: $inputs.groupId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      groupResourceId: $response.body#/id
  - stepId: linkGroup
    description: >-
      Create the product-group link that grants the group access to the
      product.
    operationId: ProductGroupLink_CreateOrUpdate
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: productId
      in: path
      value: $inputs.productId
    - name: groupLinkId
      in: path
      value: $inputs.groupId
    requestBody:
      contentType: application/json
      payload:
        properties:
          groupId: $steps.getGroup.outputs.groupResourceId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      linkResourceId: $response.body#/id
  - stepId: listProductGroups
    description: >-
      List the product's groups to confirm the new grant is present.
    operationId: ProductGroup_ListByProduct
    parameters:
    - name: subscriptionId
      in: path
      value: $inputs.subscriptionId
    - name: resourceGroupName
      in: path
      value: $inputs.resourceGroupName
    - name: serviceName
      in: path
      value: $inputs.serviceName
    - name: productId
      in: path
      value: $inputs.productId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      groupCount: $response.body#/count
  outputs:
    linkResourceId: $steps.linkGroup.outputs.linkResourceId
    groupCount: $steps.listProductGroups.outputs.groupCount

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-link-product-group-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.