capabilities.work

Azure API Management Set Global Service Policy

A 3-step recipe with Microsoft Azure API Management. We can help you get access.

Recipe · 3 steps

Azure API Management Set Global Service Policy

Set the global service policy and confirm it.

  1. Read the service to confirm it exists before applying a global policy.
  2. Create or update the global service policy with the supplied document.
  3. Read the policy back to confirm the document was stored at the service level.
What you'll need to have ready
  • subscriptionId: The Azure subscription identifier.
  • resourceGroupName: The resource group containing the service.
  • serviceName: The API Management service name.
  • policyId: The policy identifier (typically "policy").
  • policyContent: The global policy document content.
  • policyFormat: The policy content format (e.g. xml or rawxml).
For your developer

Arazzo workflow microsoft-azure-api-management:set-service-policy, 3 operations: ApiManagementService_Get → Policy_CreateOrUpdate → Policy_Get. Specs on APIs.io.