CmdID / PowerShell / Cmdlets / Grant
Grant-CsTeamsAppPermissionPolicy
As an admin, you can use app permission policies to allow or block apps for your 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.-DomainControllerDo not use.-GlobalResets the values in the global policy to match those in the provided (PolicyName) policy.-GroupSpecifies the group used for the group policy assignment.-IdentityThe user to whom the policy should be assigned.-PassThru-PolicyNameThe name of the custom policy that is being assigned to the user.-RankThe rank of the policy assignment, relative to other group policy assignments for the same policy type.-TenantDo not use.-WhatIf, -wiShows what would happen if the cmdlet runs.