CmdID / PowerShell / Cmdlets / Grant
Grant-CsTeamsShiftsPolicy
This cmdlet supports applying the TeamsShiftsPolicy to users in a tenant. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 6 parameters Its page in the reference
Parameters
-ForceSuppresses the display of any non-fatal error message that might arise when running the command.-GlobalWhen you use this cmdlet without specifying a user identity, the policy applies to all users in your tenant.-GroupSpecifies the group used for the group policy assignment.-IdentityUserId to whom the policy is granted.-PolicyNameThe name of the TeamsShiftsPolicy instance that is being applied to the user.-RankThe rank of the policy assignment, relative to other group policy assignments for the same policy type.