Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the following error when pulling existing exemptions in the plan #672

Open
gregslack78 opened this issue Jun 13, 2024 · 0 comments · May be fixed by #673
Open

Getting the following error when pulling existing exemptions in the plan #672

gregslack78 opened this issue Jun 13, 2024 · 0 comments · May be fixed by #673
Labels
bug Something isn't working

Comments

@gregslack78
Copy link
Collaborator

Get Policy Resources for EPAC environment 'AzureChinaCloud' at root scope /managementGroups/XX-XXX

Retrieved 1000 Policy definitions
Retrieved 2000 Policy definitions
Retrieved 2703 Policy definitions
Retrieved 138 Policy Set definitions
Retrieved 365 Policy Assignments
Retrieved 7910 Role Assignments, collected 230 unique Role Assignments
Retrieved 557 unique Role Definitions
Retrieved 15 Policy Exemptions, collected 13 unique Policy Exemptions
Get-AzPolicyExemptions: /home/AzDevOps/.local/share/powershell/Modules/EnterprisePolicyAsCode/10.3.3/internal/functions/Get-AzPolicyResources.ps1:137
Line |
137 | Get-AzPolicyExemptions `
| ~~~~~~~~~~~~~~~~~~~~~~~~
| Exception setting "resourceIdParts": "The property 'resourceIdParts'
| cannot be found on this object. Verify that the property exists and can
| be set."
##[error]PowerShell exited with code '1'.

@gregslack78 gregslack78 added the bug Something isn't working label Jun 13, 2024
@gregslack78 gregslack78 linked a pull request Jun 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant