Check provider logo

Users cannot start conversations with unmanaged accounts

teams_external_users_cannot_start_conversations

Severitycritical
Serviceteams
by Prowler

Microsoft 365 Teams external access blocks conversation initiation from unmanaged Teams accounts when AllowTeamsConsumerInbound=false.

Risk

Permitting unmanaged externals to start chats enables phishing, malware delivery, and social engineering, leading to credential theft and data exfiltration. It also allows user enumeration and presence probing, aiding account takeover and lateral movement, impacting confidentiality and integrity.

Run this check with Prowler CLI

prowler m365 --checks teams_external_users_cannot_start_conversations

Recommendation

Disable inbound initiation from unmanaged accounts (AllowTeamsConsumerInbound=false). If external collaboration is required, prefer allowlists for trusted domains and use guest access with least privilege. Apply defense in depth: conditional access, link/file scanning, user education, and monitor for anomalous external chats.

Remediation

CLI

Set-CsTenantFederationConfiguration -AllowTeamsConsumerInbound $false

Other
  1. Sign in to the Teams admin center: https://admin.teams.microsoft.com/
  2. Go to Users > External access
  3. Under "Teams accounts not managed by an organization", clear the checkbox "External users with Teams accounts not managed by an organization can contact users in my organization"
  4. Click Save

Source Code

Resource Type

NotDefined

References