Skip to content

az policy definition create --rules not optional #22638

@jackheuberger

Description

@jackheuberger

When trying to create a policy definition with the Azure CLI without specifying rules, an error appears saying "--rules is required", though the rules flag is specified in the documentation as optional.

image


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botact-identity-squadfeature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions