Skip to main content
Version: 2.1.1-preview

CIS.M365.8.2.2 - (L1) Ensure communication with unmanaged Teams users is disabled

Overview

8.2.2 (L1) Ensure communication with unmanaged Teams users is disabled

This policy setting controls chats and meetings with external unmanaged Teams users (those not managed by an organization, such as Microsoft Teams (free)).

The recommended state is: People in my organization can communicate with unmanaged Teams accounts set to Off.

Rationale

Allowing users to communicate with unmanaged Teams users presents a potential security threat as little effort is required by threat actors to gain access to a trial or free Microsoft Teams account. Some real-world attacks and exploits delivered via Teams over external access channels include:

  • DarkGate malware
  • Social engineering / Phishing attacks by "Midnight Blizzard"
  • GIFShell
  • Username enumeration

Impact

Users will be unable to communicate with Teams users who are not managed by an organization. Organizations may choose to create additional policies for specific groups needing to communicate with unmanaged external users.

Note: The settings that govern chats and meetings with external unmanaged Teams users aren't available in GCC, GCC High, or DOD deployments, or in private cloud environments

Remediation action:

To remediate using the UI:

  1. Navigate to Microsoft 365 Teams Admin Center.
  2. Click to expand Users select External access.
  3. Select the Policies tab
  4. Click on the Global (Org-wide default) policy.
  5. Set People in my organization can communicate with unmanaged Teams accounts to Off.
  6. Click Save.
PowerShell
  1. Connect to Teams PowerShell using Connect-MicrosoftTeams.
  2. Run the following command:
Set-CsExternalAccessPolicy -Identity Global -EnableTeamsConsumerAccess $false

Note: Configuring the organization settings to block communication is also in compliance with this control.

Test Metadata

FieldValue
Test IDCIS.M365.8.2.2
SeverityMedium
SuiteCIS
CategoryCIS M365 v6.0.1
PowerShell testTest-MtCisCommunicateWithUnmanagedTeamsUsers
TagsCIS, CIS E3 Level 1, CIS M365 v6.0.1, CIS.M365.8.2.2

Source

  • Pester test: tests/cis/Test-MtCisCommunicateWithUnmanagedTeamsUsers.Tests.ps1
  • PowerShell source: powershell/public/cis/Test-MtCisCommunicateWithUnmanagedTeamsUsers.ps1