Use Get-CsUserPolicyAssignment to get effective Teams user policies for a user, including policies assigned directly and inherited from a group. This is more complete than checking only direct assignments.
Get effective Teams user policies
The Get-CsOnlineUser cmdlet shows Teams policies explicitly assigned for a user. However if you assign policies by M365 groups this cmdlet won't show the effective policy the user has.
The following cmdlet queries all effective M365 Teams User policies for a particular user.
# Get effective Teams user policies per user Get-CsUserPolicyAssignment -Identity test@protectigate.com
Connect and run the query
Install-Module MicrosoftTeams -Scope CurrentUser
Connect-MicrosoftTeams
Get-CsUserPolicyAssignment -Identity user@contoso.com
Replace the identity with the user's sign-in address. Results include policy type, policy name and assignment source. Group assignments can take time to propagate after a change.
Filter one policy type
Get-CsUserPolicyAssignment -Identity user@contoso.com -PolicyType TeamsMeetingPolicy
Microsoft confirms that the cmdlet returns direct and inherited assignments in the Get-CsUserPolicyAssignment reference. See also how to list all Teams a user belongs to.

Comments