Skip to content

The display name of Azure Policy assignment is optional or not #25089

@racchen

Description

@racchen

According to the document: https://learn.microsoft.com/en-us/cli/azure/policy/assignment?view=azure-cli-latest#az-policy-assignment-create-optional-parameters & https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/subscription_policy_assignment, --display-name is an optional parameter for Azure Policy Assignment.

However, the assignment name is required in Azure Portal. Yes, we can deploy the policy without display-name successfully. It is pretty confused for users since they see different behaviours in Azure Portal. Any ideas?
image


Document Details

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

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botPolicyaz policyPortalaz portalService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions