Skip to main content
πŸ¦‰
Message CenterMicrosoft 365 Updates
HomePermissionsTenant FinderPortfolio
πŸ¦‰
M365 Message Centerby Cengiz YILMAZ

Track the latest updates, features, and announcements for Microsoft 365 services. Comprehensive archive of service updates and important changes.

Quick Links

HomePermissionsTenant FinderPortfolio

Connect

© 2026 M365 Message Center. Created with ❀️ by Cengiz YILMAZ

Data sourced from Microsoft 365 Message Center β€’ Not affiliated with Microsoft

  1. Home
  2. /
  3. MC994289

Microsoft Teams: Microsoft PowerShell cmdlet to allow federation with specific trial tenant domains

Plan for Change

Message ID

MC994289
View in Admin Center

Services

Microsoft Teams

Summary

Microsoft Teams is introducing a new PowerShell setting, `-AllowedTrialTenantDomains`, to customize federation with specific trial tenant domains while maintaining a default block on all trial-only tenants. This setting will be available in early April 2025. No immediate admin action is required.

Details

Updated April 9, 2025: This feature has been fully rolled out.

Coming soon: We will introduce a new Microsoft Teams PowerShell setting in Tenant Federation Configuration to enable you to customize your federation posture. Tenant administrators will be able to define a list of external trial tenants to be whitelisted for federation, while maintaining the default block on overall federation with trial-only tenants.

When this will happen:

General Availability (Worldwide): The new setting is available now in Teams PowerShell. If populated, the allowed trial tenant domains list will start to take effect in early April 2025 (previously late April).

Note: This feature requires no immediate admin action, and there will be no impact if the list is not populated.

How this will affect your organization:

Microsoft Teams introduced a new PowerShell setting (-ExternalAccessWithTrialTenants) to the Set-CsTenantFederationConfiguration cmdlet in August 2024 that enabled blocking all external access with trial-only tenants.

Now, weÒ€ℒre introducing a new Tenant federation setting -AllowedTrialTenantDomains to enable more granularity in defining the federation posture for your organization. This setting will allow you to keep federation with trial-only tenants blocked, while explicitly allowing federation with trial tenant domains you trust and collaborate with for valid business needs.

Important notes

  • A "trial-only" tenant is defined as a tenant with a Teams service plan that has only Trial subscriptions (0 purchased licenses).
  • Cross-cloud experience: Currently, all cross-cloud communication involving trial-only tenants in public clouds is blocked by default. The AllowedTrialTenantDomains setting will not be supported for cross-cloud communication.
  • This setting is only supported in PowerShell.

What you need to do to prepare:

This rollout will happen automatically by the specified date with no admin action required before the rollout. You may want to notify your users about this change and update any relevant documentation.

  • Review your settings for external access to determine if you have a valid business need to allow federation with trial-only tenants and then prepare the whitelist.
  • Download or upgrade to the latest PowerShell package (6.7 or higher): https://www.powershellgallery.com/packages/MicrosoftTeams/
  • To block external communication with trial-only tenants, use: Set-CsTenantFederationConfiguration -ExternalAccessWithTrialTenants "Blocked"
  • To allow external communication with specific trial-only tenants, while blocking it by default for most trial-only tenants, use:

$list = New-Object Collections.Generic.ListString

$list.add("contoso.com")

$list.add("fabrikam.com")

Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains $list

  • To remove tenants from the AllowedTrialTenantDomains list, use:

$list = New-Object Collections.Generic.ListString

$list.add("contoso.com")

Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @{Remove=$list}

  • To allow external communication with all trial-only tenants, use:

Set-CsTenantFederationConfiguration -ExternalAccessWithTrialTenants "Allowed"

Learn more

  • PowerShell cmdlet configuration: Set-CsTenantFederationConfiguration | Microsoft Learn
  • Manage external communication: IT Admins - Manage external meetings and chat with people and organizations using Microsoft identities - Microsoft Teams | Microsoft Learn

Timeline

πŸ“…
Published
Jan 31, 2025
Message published to Message Center
✏️
Updated
Apr 9, 2025
Message content updated
🏁
End Date
May 12, 2025
Message timeline ends

Tags

#Updated message#New feature#Admin impact

Category

πŸ“‹Plan for Change

Related Messages

Similar updates

MC985472

General Availability of Direct Routing Phone Number Inventory

Jan 22, 2025
MC1017117●

Microsoft Teams: Facilitator agent real-time notes in meetings

Feb 26, 2025
MC974361

Microsoft Teams: Edit your display name in meetings

Jan 8, 2025
MC973519

Microsoft Teams: Enable transcription policy by default

Jan 7, 2025
MC973493

Microsoft Teams: Add a Loop workspace tab to standard channels

Jan 7, 2025