Commands › Microsoft Teams

Set-CsTeamsFeedbackPolicy

Microsoft Teams MicrosoftTeams Set-*

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

Quick start script

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

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsTeamsFeedbackPolicy
$before | Format-List

# 3. Make the change (dry run first)
Set-CsTeamsFeedbackPolicy  -WhatIf
Set-CsTeamsFeedbackPolicy

# 4. Verify and diff
$after = Get-CsTeamsFeedbackPolicy
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Set-CsTeamsFeedbackPolicy [[-Identity] <String>]
 [-AllowEmailCollection <Boolean>]
 [-AllowLogCollection <Boolean>]
 [-AllowScreenshotCollection <Boolean>]
 [-Confirm]
 [-EnableFeatureSuggestions <Boolean>]
 [-Force]
 [-Instance <Object>]
 [-ReceiveSurveysMode <String>]
 [-Tenant <Object>]
 [-UserInitiatedMode <String>]
 [-WhatIf]
 [<CommonParameters>]

Parameters (12)

ParameterTypeRequiredWhat it controls
-AllowEmailCollection Boolean Set this to TRUE to enable Email collection.
-AllowLogCollection Boolean Set this to TRUE to enable log collection.
-AllowScreenshotCollection Boolean Set this to TRUE to enable Screenshot collection.
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-EnableFeatureSuggestions Boolean This setting will enable Tenant Admins to hide or show the Teams menu item "Help | Suggest a Feature". Possible Values: True, False
-Force SwitchParameter Suppresses any confirmation prompts that would otherwise be displayed before making changes and suppresses the display of any non-fatal error message that might arise when running the command.
-Identity String The unique identifier of the policy.
-Instance Object Internal Microsoft use.
-ReceiveSurveysMode String Set the receiveSurveysMode parameter to enabled to allow users who are assigned the policy to receive the survey. Set it to EnabledUserOverride to have users receive the survey and allow them to opt out.
-Tenant Object Internal Microsoft use.
-UserInitiatedMode String Set the userInitiatedMode parameter to enabled to allow users who are assigned the policy to give feedback. Setting the parameter to disabled turns off the feature and users who are assigned the policy don't have the...
-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.