Published Jan 31, 2025
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 mid-March 2025. No immediate admin action is required.
Updated February 28, 2025: We have updated the rollout timeline below. Thank you for your patience.
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 mid-March 2025 (previously mid-February).
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
AllowedTrialTenantDomains
setting will not be supported for cross-cloud communication.
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.
Set-CsTenantFederationConfiguration -ExternalAccessWithTrialTenants "Blocked"
$list = New-Object Collections.Generic.ListString
$list.add("contoso.com")
$list.add("fabrikam.com")
Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains $list
AllowedTrialTenantDomains
list, use:
$list = New-Object Collections.Generic.ListString
$list.add("contoso.com")
Set-CsTenantFederationConfiguration -AllowedTrialTenantDomains @{Remove=$list}
Set-CsTenantFederationConfiguration -ExternalAccessWithTrialTenants "Allowed"
Learn more