Error messages should contain the list of required permissions #2873
Labels
no-recent-activity
Service issue
status:waiting-for-author-feedback
Issue that we've responded but needs author feedback to close
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
The text was updated successfully, but these errors were encountered: