Commands › Microsoft Teams
Set-CsTeamsFeedbackPolicy
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)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.