Forum Discussion
EntilZha
Apr 08, 2020Iron Contributor
Using PowerShell and Graph to get list of all owners of groups
I’m using PowerShell and Graph to get list of all owners of groups created by Teams. The PS scripts is working and able to get user’s ID from the response; however, I’m having issues getting the rema...
VasilMichev
Apr 10, 2020MVP
Works for me with or without adding the select statement. Check your permissions as well, they recently introduced some changes that might "hide" attribute values if you don't have sufficient permissions.
EntilZha
Apr 10, 2020Iron Contributor
You were correct, I was missing a permission. Once I added Directory.Read.All to the API Permission it started working.
Again Thank You Very Much!!!!!
-Larry