Skip to content

[ARM] az policy: Rewrite Azure Policy CRUD commands using auto-generation#33416

Draft
Celinadhh wants to merge 4 commits into
Azure:devfrom
Celinadhh:feature-policy
Draft

[ARM] az policy: Rewrite Azure Policy CRUD commands using auto-generation#33416
Celinadhh wants to merge 4 commits into
Azure:devfrom
Celinadhh:feature-policy

Conversation

@Celinadhh
Copy link
Copy Markdown
Member

Related command

az policy assignment {create, delete, list, show, update}
az policy assignment identity {assign, remove, show}
az policy assignment non-compliance-message {create, delete, list, show, update}
az policy definition {create, delete, list, show, update}
az policy definition version {create, delete, list, show, update}
az policy enrollment {create, delete, list, show, update}
az policy exemption {create, delete, list, show, update}
az policy set-definition {create, delete, list, show, update}
az policy set-definition version {create, delete, list, show, update}

Description
Reimplement all azure policy CRUD commands using the auto-generation toolset with customization. This will onboard CLI to the newer api-versions.

Testing Guide
All tests are updated and passing in record and playback modes.
Few new tests added.

History Notes


This checklist is used to make sure that common guidelines for a pull request are followed.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Hi @Celinadhh,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Validation for Breaking Change Starting...

Thanks for your contribution!

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Auto-Assign Auto assign by bot label May 21, 2026
@microsoft-github-policy-service microsoft-github-policy-service Bot added ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group act-identity-squad labels May 21, 2026
@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 21, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@yonzhan yonzhan assigned yanzhudd and isra-fel and unassigned zhoxing-ms and yanzhudd May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

act-identity-squad ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants