Microsoft Teams is a powerful collaboration tool with usefulness that spans across segments like enterprise, SMB, and education. However sometimes we have a specific use case whereby we need to restrict collaboration. One such case is turning off private chat during a meeting.
The use case here is when we've assigned a Teams account to each of our meeting rooms and want to disable the chat function for those rooms so that during a video call, we're not being interrupted by chat messages on the main meeting room screen.
About meeting policies
Meeting policies are used to control the features that are available to meeting participants for meetings that are scheduled by users in your organization. You can use the global (Org-wide default) policy that's automatically created or create and assign custom policies. You manage meeting policies in the Microsoft Teams admin centre or by using PowerShell.
You can implement policies in the following ways, which affect the meeting experience for users before a meeting starts, during a meeting, or after a meeting.
- Per-organizer policy: When you implement a per-organizer policy, all meeting participants inherit the policy of the organizer. For example, Automatically admit people is a per-organizer policy and controls whether users join the meeting directly or wait in the lobby for meetings scheduled by the user who is assigned the policy.
- Per-user policy: When you implement a per-user policy, only the per-user policy applies to restrict certain features for the organizer and/or meeting participants. For example, Allow Meet now in channels is a per-user policy.
- Per-organizer and per-user: When you implement a combination of a per-organizer and per-user policy, certain features are restricted for meeting participants based on their policy and the organizer's policy. For example, Allow cloud recording is a per-organizer and per-user policy. Turn on this setting to allow users to start and stop a recording.
To disable Private Chat in Microsoft Teams during a meeting, we are going to focus on the per user implementation:
In the left navigation of the Microsoft Teams Admin Centre.
- Go to Meetings > Meeting policies.
- Select Add.
- Enter a name and description for the policy (eg turn chat off for meeting room accounts)
- Go to particpants and guests
- Disable 'Allow chat in meetings'.
Assign the meeting 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).
- Go to meeting policies
- Select the policy (eg turn chat off in meeting rooms)
- Select Manage users
- Assign the policy to individual users - for example: email@example.com
Changing the policy for a large number of meeting rooms
A policy is a group of settings that can be applied granularly to individual users. Each policy type has its own set of cmdlets for creating, viewing, deleting, and updating the policies themselves, and then assigning those policies to users. The general structure is:
GET commands (for example, Get-CsTeamsMeetingPolicy): Returns the policy documents that are available for you to assign in your organization, including the policies created by Microsoft for you to use as well as the custom policies you’ve created.
To find only the custom policies you’ve created in your organization, use -Filter "tag:*".
NEW commands (for example, New-CsTeamsMeetingPolicy): Creates new policies for your organization to assign to users in your organization. Not all policies support the creation of custom policies. Often this is to ensure that the policies you use in your organization have a supported combination of settings.
SET commands (for example, Set-CsTeamsMeetingPolicy): Sets particular values on a given policy. Some policies don't have SET commands available, or they contain parameters that can't be customized in the policy. The PowerShell descriptions tell you which parameters can't be customized.
To edit the policy that will by default be assigned to users in your organization who do not have a custom policy assigned, run Set-Cs<PolicyName> -Identity Global.
REMOVE commands (for example, Remove-CsTeamsMeetingPolicy): Deletes a custom policy that has been created in your tenant. If you delete a custom policy that has been assigned to at least one user in your organization, that user will fall back to the global policy.
You can’t actually remove the global policy in your organization, but if you want to reset the global policy in your organization to the Microsoft-provided default settings, run Remove-Cs<PolicyName> -Identity Global.
GRANT command (for example, Grant-CsTeamsMeetingPolicy): Assigns a policy to a particular user.
To remove a custom policy assignment and make the user fall back to the default policy in your organization, run Grant-Cs<PolicyName> -Identity <User Identity> -PolicyName $null.
- Find the cmdlets for managing your configuration https://www.microsoft.com/en-us/download/details.aspx?id=39366
- Installing Teams Powershell https://docs.microsoft.com/en-us/microsoftteams/teams-powershell-install
- Use Teams admin roles to manage Teams https://docs.microsoft.com/en-us/microsoftteams/using-admin-roles