Azure / enterprise-azure-policy-as-code

Enterprise-ready Azure Policy-as-Code (PaC) solution (includes Az DevOps pipeline)
https://azure.github.io/enterprise-azure-policy-as-code/
MIT License
432 stars 238 forks source link

Exclusions not appearing in exported assignments #572

Closed anwather closed 6 months ago

anwather commented 6 months ago

Describe the bug Policies assigned that have an exclusion are not coming out with notScopes defined - when using Export-AzPolicyResources

To Reproduce Assign policy and then in portal do an excluded scope - run an export and check the assignment.

EPAC Version 10.1.0

techlake commented 6 months ago

Can you test the latest?