Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default name for policy assignment exceeds '24' characters. #9177

Closed
murarisumit opened this issue Apr 23, 2019 · 1 comment
Closed

Default name for policy assignment exceeds '24' characters. #9177

murarisumit opened this issue Apr 23, 2019 · 1 comment
Assignees
Milestone

Comments

@murarisumit
Copy link

Describe the bug
Default name for policy assignment exceed '24' characters, which results in error.

To Reproduce

  • Try creating any policy.
  • Creating policy assignment without name flag
    az policy assignment create \
                  --scope "/providers/Microsoft.Management/managementGroups/test-group" \
                  --policy "/providers/Microsoft.Management/managementgroups/test-group/providers/Microsoft.Authorization/policyDefinitions/<policy-name>"
    
    

Steps to reproduce the behavior.

Expected behavior
I should be able to create assignment of policy at given management group with some system generated name.

Environment summary
Running it in bash with az cli <2.0.60> in mac mojave.

@marstr marstr added bug This issue requires a change to an existing behavior in the product in order to be resolved. RBAC az role Needs Triage labels Apr 23, 2019
@yugangw-msft yugangw-msft added Policy az policy and removed RBAC az role labels Aug 9, 2019
@yonzhan yonzhan removed the triage label Sep 2, 2019
@haroldrandom haroldrandom added Authorization-cli bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. Policy az policy labels Oct 25, 2019
@yonzhan yonzhan added this to the S162 milestone Oct 26, 2019
@yonzhan
Copy link
Collaborator

yonzhan commented Oct 26, 2019

@Juliehzl, add to S162

@Juliehzl Juliehzl modified the milestones: S162, S163 Nov 23, 2019
@yonzhan yonzhan modified the milestones: S163, S164 Jan 2, 2020
@yonzhan yonzhan removed bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels Jan 2, 2020
@yonzhan yonzhan assigned zhoxing-ms and unassigned Juliehzl Jan 2, 2020
@yonzhan yonzhan modified the milestones: S164, S165 Feb 1, 2020
@yonzhan yonzhan modified the milestones: S165, S166 Feb 15, 2020
@yonzhan yonzhan closed this as completed Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants