Guest user Team membership

Copper Contributor

Is it possible to have a report that lists each guest user, and each team they are a member of?

3 Replies
Sure, all the methods that work for reporting the team membership of a regular user apply to Guests, too. For example, you can use the following cmdlet:

Get-MgUserMemberOf -UserId db19b7fc-dfd7-4aa5-9c13-3cc67bf42ce4 -All -Filter {resourceProvisioningOptions/any(x:x eq 'Team')} -ConsistencyLevel eventual -CountVariable count
Thanks Vasil, I don't have access to powershell on our Mac's, do you know of any reports in Entra or Teams admin?
Ah, in the UI you can only see Group membership, not specifically Teams one.