Forum Discussion

Shivakumar_Totad's avatar
Shivakumar_Totad
Copper Contributor
Jul 30, 2020

Applying Teams policy to groups (Distribution List) made easy through power shell

 

To apply policy to distribution list groups, one has to get the group id and which is very lengthy, very difficult to remember.

 

After doing all these activities, power shell cmdlets run without any error but policy was not applied to intended users when i check in user profile under teams admin console.

 

To solve this problem I just gave try and entered distribution list mail ID, which went without any errors and policy applied to intended users immediately.

 

Cmdlets: New-CsGroupPolicyAssignment -GroupId mail@domain.com -PolicyType TeamsMeetingPolicy -PolicyName "PolicyName" -Rank 1

 

Resources