0

I need help with adding policy to PRODUCT in Azure APIM. Could you please let me know how we can achieve using PowerShell/Azure Cli/ Azure DevOps?

Madhu
  • 415
  • 1
  • 4
  • 15

1 Answers1

2

I think you are looking to Set a product-scope policy

PS C:\>$apimContext = New-AzApiManagementContext -ResourceGroupName "Api-Default-WestUS" -ServiceName "contoso"
PS C:\>Set-AzApiManagementPolicy -Context $apimContext -ProductId "0123456789" -Policy $PolicyString
Sajeetharan
  • 216,225
  • 63
  • 350
  • 396