-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Az Policy - retrieves built-in defs when specifying 'custom' - Azure Government #7522
Comments
@CHDAFNI-MSFT I believe the issue is that the cmdlet should have returned only the last policy set definition, is that correct? |
@Tiano2017 Can you take a look? |
@markcowl incorrect. by using the flag '-Custom', it should have only returned 'custom' policies. However it returns both 'custom' and 'builtin'. See attached screenshot. "@CHDAFNI-MSFT I believe the issue is that the cmdlet should have returned only the last policy set definition, is that correct?" |
@Tiano2017 @markcowl poke poke |
Add/update tests for Azure#7522 and Azure#5747
This issue has been fixed |
Description
Within Azure Government, retrieving policy definitions and specifying 'Custom' still retrieves the built-in definition initiatives as well
Script/Steps for Reproduction
Get-AzPolicySetDefinition -ApiVersion '2018-03-01' -Custom
Module Version
Environment Data
Debug Output
The text was updated successfully, but these errors were encountered: