Skip to main content
Version: 2.1.1-preview

DPDP.7.3 - External Teams communication with unmanaged users SHALL be restricted (Rule 16-XB-2).

Overview

8.2.3 (L1) Ensure external Teams users cannot initiate conversations

This setting prevents external users who are not managed by an organization from initiating contact with users in the protected organization. The recommended state is to uncheck External users with Teams accounts not managed by an organization can contact users in my organization.

Note: Disabling this setting is used as an additional stop gap for the previous setting which disables communication with unmanaged Teams users entirely. If an organization chooses to have an exception to (L1) Ensure communication with unmanaged Teams users is disabled they can do so while also disabling the ability for the same group of users to initiate contact. Disabling communication entirely will also disable the ability for unmanaged users to initiate contact.

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

The impact of disabling this is very low. Organizations may choose to create additional policies for specific groups that need to communicate with unmanaged external users.

Note: Chats and meetings with external unmanaged Teams users isn'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. Locate the parent setting People in my organization can communicate with unmanaged Teams accounts.
  6. Uncheck External users with Teams accounts not managed by an organization can contact users in my organization.
  7. Click Save.

Note: If People in my organization can communicate with unmanaged Teams accounts is already set to Off then this setting will not be visible and will satisfy the requirements of this recommendation.

PowerShell
  1. Connect to Teams PowerShell using Connect-MicrosoftTeams.
  2. Run the following command:
Set-CsExternalAccessPolicy -Identity Global -EnableTeamsConsumerInbound $false

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

Test Metadata

FieldValue
Test IDDPDP.7.3
SeverityUnknown
SuiteDPDP Act 2023
CategoryIndiaDPDP
PowerShell testTest-MtCisCommunicateInitiateExternalTeamsUsers
TagsDPDP, DPDP.7.3, DPDP2023, IndiaDPDP

Source

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