Description
Teams external access with tenants that hold only trial licenses is blocked
(ExternalAccessWithTrialTenants = Blocked). Users in such tenants cannot find, chat with, call
or meet (with their authenticated identity) users in the organization, and vice versa. The setting
is only available in PowerShell.
Rationale
Trial tenants cost nothing, take minutes to create and are discarded after a campaign. Attackers use them to send Teams chats with brand-like names. Legitimate partners have paid subscriptions, so blocking trial-only tenants removes an attacker convenience with almost no business cost.
Impact
A partner evaluating Microsoft 365 on a trial-only tenant cannot use federation until it buys a license; it can still join meetings as an anonymous participant. Users from trial-only tenants are removed from existing chats. Blocked is the current default; the control guards against it being changed to Allowed.
Applies when
Requires: Microsoft Teams
Setting
| Location | Microsoft Teams PowerShell: Set-CsTenantFederationConfiguration -ExternalAccessWithTrialTenants |
| Default | Blocked |
| Recommended | Blocked |
Audit
- Connect to Microsoft Teams PowerShell (module 6.4.0 or later) as at least a Global Reader.
- Run
Get-CsTenantFederationConfiguration | Select-Object ExternalAccessWithTrialTenants. - Fail if the value is
Allowed.
Remediation
- As a Teams Administrator, run
Set-CsTenantFederationConfiguration -ExternalAccessWithTrialTenants Blocked.
References
- Manage external meetings and chat with people and organizations using Microsoft identities Microsoft, vendor-doc, accessed 2026-10-24
- Set-CsTenantFederationConfiguration Microsoft, vendor-doc, accessed 2026-10-24
Mappings
| Framework | ID | Relation |
|---|---|---|
| NIST SP 800-53 Rev. 55.1.1 | AC-20 | related |
| NIST SP 800-53 Rev. 55.1.1 | SC-7 | related |
How this control relates to the other framework's: equivalent, stricter, looser, partial or related.
Threats mitigated
| Taxonomy | ID |
|---|---|
| MITRE ATT&CK | T1566.003 |
Related controls
- related
CB-M365-COLLAB-018Limit Teams external access to approved domains - related
CB-M365-COLLAB-019Block Teams communication with unmanaged Teams accounts
People and lifecycle
| Authors |
|
| Introduced in | v0.1.0 |
| Created, updated | 2026-10-24, 2026-10-24 |
| Translations | fr |