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.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
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.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.