Setting XML polices on APIM operations always show as being changed even when no changes have been made. Its looks like the comparison is not correctly matching the deployed policy with that in the template.
Resource type
Microsoft.ApiManagement/service/apis/operations/policies
Describe the noise
Setting XML polices on APIM operations always show as being changed even when no changes have been made. Its looks like the comparison is not correctly matching the deployed policy with that in the template.
Resource type Microsoft.ApiManagement/service/apis/operations/policies
apiVersion 2021-08-01
Client (PowerShell, Azure CLI, or API) Azure CLI
Relevant ARM Template code bicep file
Expected response (i.e. "I expected no noise since the template has not been modified since the resources were deployed)
Current (noisy) response (either include a screenshot of the what-if output, or copy/paste the text)
Additional context Content of
../policies/api-policy-base.xml
referenced in the template above.