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
Thank You, it was a permission issue. I had to add Directory.Read.All to the API Permissions.
Again Thank You Very Much!!!
-Larry
- VasilMichevApr 11, 2020MVP
Well I tried to explain to MS folks that this behavior will confuse people... Oh well.