How to manage messaging policies in Teams?

How to manage messaging policies in Teams?

No comments

 2,353 total views,  10 views today

As part of the series of Microsoft Teams articles, today I have planned to write about How to manage messaging policies in Teams (Microsoft Teams).

Key-highlights:

  • What is messaging policies in Teams?
  • How to create a custom messaging policy in Microsoft Teams?
  • A real-time example of a custom messaging policy in Microsoft Teams
  • Messaging policy settings – Custom messaging policy in Microsoft Teams Configuration
  • How to edit a messaging policy in Microsoft Teams?
  • How to assign a custom messaging policy to users?
  • How to assign teams messaging policy using PowerShell?

 

What is messaging policies in Teams?

Messaging policies are used to control what chat and channel messaging features are available to users in Teams. You can use the Global (Org-wide default) policy or create one or more custom messaging policies for people in your organization.

How to create a custom messaging policy in Microsoft Teams?

  • In the left navigation of the Microsoft Teams admin center, go to Messaging policies.
  • Click Add.
  • Enter a name and description for the policy.
  • Choose the settings that you want.
  • Click Save.
Messaging policies in Teams - Microsoft Teams admin center
Messaging policies in Teams – Microsoft Teams admin center

A real-time example of a custom messaging policy in Microsoft Teams

For example, say you want to make sure that sent messages aren’t deleted or altered. Create a new custom policy named “Retain sent messages” and turn off the following settings:

  • Owners can delete sent messages
  • Users can delete sent messages
  • Users can edit sent messages

Then assign the policy to users.

 

Messaging policy settings – Custom messaging policy in Microsoft Teams Configuration

We can have the below configurations in the Microsoft custom messaging policy:

  • Owners can delete sent messages – toggle on or off (default is on).
  • Delete sent messages –  toggle on or off (default is on).
  • Edit sent messages – toggle on or off (default is on).
  • Read receipts – dropdown list selection (Turn off for everyone, Turn on for everyone, User Controlled) the default selection is User Controlled.
  • Chat – toggle on or off (default is on).
  • Use Giphys in conversations – toggle on or off (default is on).
  • Giphy content rating – dropdown list selection (strict, moderate, no restriction) the default selection is moderate.
  • Use Memes in conversations – toggle on or off (default is on).
  • Use Stickers in conversations – toggle on or off (default is on).
  • Allow URL previews – toggle on or off (default is off).
  • Translate messages – toggle on or off (default is off).
  • Allow immersive reader for viewing messages – toggle on or off (default is off).
  • Send urgent messages using priority notifications – toggle on or off (default is off).
  • Create voice messages – dropdown list selection (Allowed in chats and channels, Allowed in chats only, Disabled) the default selection is Allowed in chats and channels
  • On mobile devices, display favorite channels above recent chats – dropdown list selection (Disabled, Enabled) the default selection is Disabled
  • Remove users from group chats – toggle on or off (default is off).
  • Suggested replies – toggle on or off (default is off). 
Create messaging policies in Teams - Microsoft Teams admin center
Create messaging policies in Teams – Microsoft Teams admin center

 

How to edit a messaging policy in Microsoft Teams?

We can edit the global policy on any custom policies that you create.

  • In the left navigation of the Microsoft Teams admin center, go to Messaging policies.
  • Select the policy by clicking to the left of the policy name, and then click Edit.
  • From here, make the changes that you want.
    Click Save.

How to assign a custom messaging policy to users?

You can assign a policy directly to users, either individually or at scale through a batch assignment (if supported for the policy type), or to a group that the users are members of (if supported for the policy type).

A user can only be assigned one messaging policy at a time.

Note:

  • We can’t delete a policy if users are assigned to it. You must first assign a different policy to all affected users, and then you can delete the original policy.

How to assign teams messaging policy using PowerShell?

Using the below PowerShell command, we can assign a messaging policy to a user:

Example 1:


Grant-CsTeamsMessagingPolicy -identity "Ken Myer" -PolicyName StudentMessagingPolicy

In this example, a user with identity “Ken Myer” is being assigned the StudentMessagingPolicy

Example 2:


Get-CsOnlineUser -Filter {Department -eq 'Executive Management'} | Grant-CsTeamsMessagingPolicy -PolicyName "ExecutivesPolicy"

In this example, the ExecutivesPolicy is being assigned to a whole department by piping the result of Get-CsOnlineUser cmdlet

 

Summary: What we had here?

Thus in this article, we have learned the below with respect to messaging policies in Microsoft Teams.

  • What is messaging policies in Teams?
  • How to create a custom messaging policy in Microsoft Teams?
  • A real-time example of a custom messaging policy in Microsoft Teams
  • Messaging policy settings – Custom messaging policy in Microsoft Teams Configuration
  • How to edit a messaging policy in Microsoft Teams?
  • How to assign a custom messaging policy to users?
  • How to assign teams messaging policy using PowerShell?

Reference:

https://docs.microsoft.com/en-us/microsoftteams/messaging-policies-in-teams#:~:text=that%20you%20create.-,In%20the%20left%20navigation%20of%20the%20Microsoft%20Teams%20admin%20center,Click%20Save.
https://docs.microsoft.com/en-us/powershell/module/skype/grant-csteamsmessagingpolicy?view=skype-ps

See Also

You may also like the below Microsoft Teams articles:

Free download SharePoint Online & Office 365 Administration eBook(238 Pages)

Get the PDF eBook from here:


[purchase_link id="0" style="button" color="blue" text="Free Download SharePoint Online & Office 365 Administration"]

 

 
FREE DOWNLOAD

Send download link to:

Subscribe to get exclusive content and recommendations every month. You can unsubscribe anytime.