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

[Reference feedback]: No such parameter to add serviceManagementReference in az ad sp create-for-rbac #30717

Open
qjjy29 opened this issue Jan 24, 2025 · 2 comments
Assignees
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request Graph az ad needs-triage This is a new issue that needs to be triaged to the appropriate team.
Milestone

Comments

@qjjy29
Copy link

qjjy29 commented Jan 24, 2025

Type of issue

Other (describe below)

Reference command name

When I run az ad sp create-for-rbac --name myname --create-cert

It shows serviceManagementReference field is required for Create, but is missing in the request.
However, there is no way to add serviceManagementReference in this command.

Feedback

Can you add a parameter to add serviceManagementReference?

Page URL

No response

Content source URL

No response

Author

No response

Document Id

No response

@qjjy29 qjjy29 added the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Jan 24, 2025
@yonzhan
Copy link
Collaborator

yonzhan commented Jan 24, 2025

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Auto-Assign Auto assign by bot Graph az ad labels Jan 24, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 24, 2025
@yonzhan yonzhan added this to the Backlog milestone Jan 24, 2025
@jiasli
Copy link
Member

jiasli commented Jan 26, 2025

It is by design that --service-management-reference is not added to az ad sp create-for-rbac.

--service-management-reference was added to az ad app create/update in #29860. This feature was released with Azure CLI 2.65.0 on 2024-10-08.

Even though az ad sp create-for-rbac automatically creates an application, this command is only used for creating application + service principal that are used to manage Azure resources through RBAC, not for creating general-purpose application. We don’t want to add --service-management-reference to az ad sp command group which will confuse users.

However, we are still reviewing this proposal internally and will give a final conclusion.

@yonzhan yonzhan added feature-request and removed question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. feature-request Graph az ad needs-triage This is a new issue that needs to be triaged to the appropriate team.
Projects
None yet
Development

No branches or pull requests

3 participants