Forum Discussion

EntilZha's avatar
EntilZha
Iron Contributor
Jan 10, 2020
Solved

Using Microsoft Graph to Assign Team Custom Policies

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,

 

-Larry

  • 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?

  • 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?

Resources