
Your Graph script asks for Directory.ReadWrite.All. It probably needs one permission.
Copy-pasted Connect-MgGraph lines are why so many admin scripts run with far more access than they use.
· 2 min read
tag: microsoft-graph
Every post with this tag, newest first.

Copy-pasted Connect-MgGraph lines are why so many admin scripts run with far more access than they use.
· 2 min read