Using Microsoft Graph to Assign Team Custom Policies

Frequent Contributor

The issue I'm having it's taking days many days to assign custom Team Policies to over 200000 users using the Cs Powershell module. What make even hard to assign these custom policies is the constant failure of the scripts, even with paging the process.


I'm assigning each user the following polices:


Grant-CsTeamsMeetingPolicy -Identity $User -PolicyName $Policy
Grant-CsTeamsCallingPolicy -Identity $User -PolicyName $Policy
Grant-CsTeamsMessagingPolicy -Identity $User -PolicyName $Policy

Grant-CsTeamsMeetingBroadcastPolicy -Identity $User -PolicyName $Policy
Grant-CSTeamsAppPermissionPolicy -Identity $User -PolicyName $Policy
Grant-CSTeamsAppSetupPolicy -Identity $User -PolicyName $Policy
Grant-CsTeamsCallParkPolicy -Identity $User -PolicyName $Policy
Grant-CsTeamsChannelsPolicy -Identity $User -PolicyName $Policy


I'm hoping it's possible to use Graph to assign custom Team policies to Users. If so, which API do I use and the url?


Thank You,



3 Replies
best response confirmed by Larry Jones (Frequent Contributor)

Those operations are not yet exposed via the Graph API. Considering the number of users, aren't you better off setting these as default policies though?

@Larry Jones 

Not sure fully covers your needs, but with the following third party solution you can apply some of the communication control policies based on AD groups- controlling chat, audio, video and sharing without the need to apply one by one the policies 


Ethical wall for Teams