Manage messaging policies in teams – 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: manage messaging policies in teams
- What are 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 do assign a custom messaging policy to users?
- How to assign team messaging policy using PowerShell?
What are 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.

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).

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 do 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 Microsoft 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 the 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 do we have here (manage messaging policies in teams)?
Thus in this article, we have learned the below with respect to messaging policies in Microsoft Teams.
- What are 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 do assign a custom messaging policy to users?
- How to assign Microsoft teams messaging policy using PowerShell?
See Also: Microsoft Teams Articles
You may also like the below Microsoft Teams articles:
- Office 365: Cortana voice assistance in Teams mobile
- Office 365: Manage meeting settings in Microsoft Teams
- How to manage meeting policies in Microsoft Teams – Office 365?
- How to turn on inline message translation in Microsoft Teams?
- How to finish setting up Microsoft Teams Exploratory in Microsoft 365 admin center step by step
- Office 365: Support remote workers with Microsoft Teams
- Top 11 Microsoft Teams Updates (May 2020, these have much waited for your business)
- FAQs (Office 365): Is SharePoint being replaced by Teams?
- Create a modern team site using PnP PowerShell in SharePoint
- Office 365: Where do the Microsoft Teams channel conversations and files get saved?
- Office 365: SharePoint vs Microsoft Teams – Understanding the Differences in o365
- Office 365: Add Channel in Microsoft Teams – o365
- Create a Team in Microsoft Teams step by step process – Office 365
- o365: Getting started with Microsoft Teams in Office 365
- Manage messaging policies in Teams
- Grant-CsTeamsMessagingPolicy
