Forum Discussion
jimunday959
Aug 24, 2023Copper Contributor
Guest user Team membership
Is it possible to have a report that lists each guest user, and each team they are a member of?
VasilMichev
Aug 24, 2023MVP
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
Get-MgUserMemberOf -UserId db19b7fc-dfd7-4aa5-9c13-3cc67bf42ce4 -All -Filter {resourceProvisioningOptions/any(x:x eq 'Team')} -ConsistencyLevel eventual -CountVariable count
jimunday959
Aug 24, 2023Copper Contributor
Thanks Vasil, I don't have access to powershell on our Mac's, do you know of any reports in Entra or Teams admin?
- VasilMichevAug 25, 2023MVPAh, in the UI you can only see Group membership, not specifically Teams one.