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

Error messages should contain the list of required permissions #2873

Closed
alexandair opened this issue Jul 28, 2024 · 2 comments
Closed

Error messages should contain the list of required permissions #2873

alexandair opened this issue Jul 28, 2024 · 2 comments
Labels
no-recent-activity Service issue status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close

Comments

@alexandair
Copy link
Contributor

Is your feature request related to a problem? Please describe the problem.

When you run a command without having required permissions, you get a generic "insufficient privileges" error message.
It would be more efficient if the error message contains the list of required permissions.

Describe the solution you'd like.

As part of the security improvements, Microsoft Graph PowerShell commands should start outputting error messages with the list of required permissions instead of the generic "insufficient privileges" and similar messages.

Marking the least privileged permission too.

Additional context?

No response

@alexandair alexandair added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:feature New experience request labels Jul 28, 2024
@timayabi2020 timayabi2020 added Service issue and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Jul 30, 2024
@timayabi2020
Copy link
Contributor

Hi @alexandair this is a feature that needs to be added at Microsoft Graph API level then cascaded to all Microsoft Graph SDKs. Therefore, I would advise that you open an issue here https://developer.microsoft.com/en-us/graph/support so that API owners can plan to have the feature added.

@timayabi2020 timayabi2020 added status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close and removed type:feature New experience request labels Jul 30, 2024
Copy link
Contributor

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-recent-activity Service issue status:waiting-for-author-feedback Issue that we've responded but needs author feedback to close
Projects
None yet
Development

No branches or pull requests

2 participants