Forum Discussion
CarboCorp
Mar 15, 2021Copper Contributor
Teams Messaging Policy
Hi All, Could you please share how to get via PS the users assigned to a specific Messaging Policy? I see in Teams Admin console you can only add users but not seeing the list or remove them. ...
VasilMichev
Mar 15, 2021MVP
The cmdlet is available as part of the Teams module now, download it and you will be able to use both Teams and SfB cmdlets.
As to finding out which users a given policy is assigned to, easiest method is to use the -Filter parameter:
Get-CsOnlineUser -Filter 'TeamsMessagingPolicy -eq "Policy Name"'
As to finding out which users a given policy is assigned to, easiest method is to use the -Filter parameter:
Get-CsOnlineUser -Filter 'TeamsMessagingPolicy -eq "Policy Name"'