CmdID / PowerShell / Cmdlets / Grant
Grant-CsTeamsEnhancedEncryptionPolicy
Cmdlet to assign a specific Teams enhanced encryption Policy to a user. 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.-IdentityUnique identifier assigned to the Teams enhanced encryption policy.-PassThruEnables you to pass a user object through the pipeline that represents the user being assigned the policy.-PolicyNameSpecifies the 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.