Commands › Microsoft Teams

Set-CsTeamsNotificationAndFeedsPolicy

Microsoft Teams MicrosoftTeams Set-*

Modifies an existing Teams Notifications and Feeds Policy

Quick start script

# Set-CsTeamsNotificationAndFeedsPolicy — 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-CsTeamsNotificationAndFeedsPolicy
$before | Format-List

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

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

Syntax

Set-CsTeamsNotificationAndFeedsPolicy [-Description <String>] [[-Identity] <String>]
 [-SuggestedFeedsEnabledType <String>] [-TrendingFeedsEnabledType <String>]
 [-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Description String Free format text
-Identity String Unique identifier assigned to the policy when it was created.
-MsftInternalProcessingMode String For internal use only.
-SuggestedFeedsEnabledType String The SuggestedFeedsEnabledType parameter in the Microsoft Teams notifications and feeds policy controls whether users receive notifications about suggested activities and content within their Teams environment. When...
-TrendingFeedsEnabledType String The TrendingFeedsEnabledType parameter in the Microsoft Teams notifications and feeds policy controls whether users receive notifications about trending activities within their Teams environment. When enabled, this...
-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.