CmdID / PowerShell / Cmdlets / Grant
Grant-CsTeamsComplianceRecordingPolicy
Assigns a per-user Teams recording policy to one or more users. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 10 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DomainControllerThis parameter is reserved for internal Microsoft use.-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.-IdentityIndicates the Identity of the user account to be assigned the per-user Teams recording policy.-PassThruEnables you to pass a user object through the pipeline that represents the user account being assigned the Teams recording policy.-PolicyNameName of the policy to be assigned.-RankThe rank of the policy assignment, relative to other group policy assignments for the same policy type.-TenantGlobally unique identifier (GUID) of the tenant account whose Teams recording policies are being queried.-WhatIf, -wiShows what would happen if the cmdlet runs.