Commands › Microsoft Teams

Grant-CsTeamsFeedbackPolicy

Microsoft Teams MicrosoftTeams Grant-*

Use this cmdlet to grant a specific Teams Feedback policy to a user (the ability to send feedback about Teams to Microsoft and whether they receive the survey).

Quick start script

# Grant-CsTeamsFeedbackPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Grant-CsTeamsFeedbackPolicy -Group <String> | Format-List

# 3. Export for evidence / drift tracking
Grant-CsTeamsFeedbackPolicy | Export-Clixml .\CsTeamsFeedbackPolicy-$(Get-Date -Format yyyyMMdd).xml

Syntax — 3 parameter sets

Identity (Default)

Grant-CsTeamsFeedbackPolicy [[-Identity] <String>] [-PassThru] [[-PolicyName] <String>]
 [-WhatIf] [-Confirm] [<CommonParameters>]

GrantToTenant

Grant-CsTeamsFeedbackPolicy [-PassThru] [[-PolicyName] <String>]
 [-Global] [-WhatIf] [-Confirm] [<CommonParameters>]

GrantToGroup

Grant-CsTeamsFeedbackPolicy [-PassThru] [[-PolicyName] <String>]
 -Group <String> [-Rank <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (10)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-DomainController Object Internal Microsoft use.
-Global SwitchParameter Use this parameter to make the specified policy in -PolicyName the new effective global policy.
-Group String yes Specifies the group used for the group policy assignment.
-Identity Object Indicates the identity of the user account the policy should be assigned to.
-PassThru SwitchParameter Including this parameter (which does not take a value) displays the user information when the cmdlet completes. Normally there is no output when this cmdlet is run.
-PolicyName Object The identity of the policy to be granted.
-Rank Int32 The rank of the policy assignment, relative to other group policy assignments for the same policy type.
-Tenant Object Internal Microsoft use.
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. The cmdlet is not run.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.