CmdID

CmdID / PowerShell / Cmdlets / Grant

Grant-CsTeamsFilesPolicy

This cmdlet applies an instance of the Teams AI policy to users or groups in a tenant. Microsoft Teams PowerShell reference

From the Microsoft Teams PowerShell reference 6 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

6 in the Microsoft Teams PowerShell reference
-ForceSuppresses the display of any non-fatal error message that might arise when running the command.
-GlobalThis is the equivalent to -Identity Global.
-GroupThis is the identifier of the group that the policy should be assigned to.
-IdentitySpecifies the identity of the target user.
-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.