CmdID / PowerShell / Cmdlets / Grant
Grant-CsTeamsEventsPolicy
Assigns Teams Events policy to a user, group of users, or the entire tenant. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 8 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-GlobalUse this switch if you want to grant the specified policy to be the default policy for all users in the tenant.-GroupSpecifies the group used for the group policy assignment.-IdentitySpecifies the identity of the target user.-PassThruEnables passing a user object through the pipeline that represents the user being assigned the policy.-PolicyName"Name" of the policy to be assigned.-RankThe rank of the policy assignment, relative to other group policy assignments for the same policy type.-WhatIf, -wiShows what would happen if the cmdlet runs.