Controlling Release Pipelines with Gates and Azure Policy Compliance
Mar 26, 2021Peter De Tender

Summary
This post details how to configure Azure DevOps Release Gates to integrate with Azure Policy compliance checks. It demonstrates a scenario where a release pipeline is configured to fail if an Azure Policy (specifically, a policy denying deployments to a certain region) is violated. The post guides users through setting up the Azure Policy, assigning it, configuring the Release Gate in Azure DevOps to 'Check Policy Compliance', and observing the failure and subsequent success after removing the policy assignment.