The display name of Azure Policy assignment is optional or not
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
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?

---
#### Document Details
⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*
* ID: 1c6760bb-c278-da56-a95c-4e82e221f1e8
* Version Independent ID: e25cbd2a-b415-214f-7d50-c403992c9361
* Content: [az policy assignment](https://learn.microsoft.com/en-us/cli/azure/policy/assignment?view=azure-cli-latest)
* Content Source: [latest/docs-ref-autogen/policy/assignment.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/policy/assignment.yml)
* Service: **azure-resource-manager**
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**
Contributor guide
Assessment
This issue has not been assessed yet.