Loading...

Modifying the Teams Tenant Federation Configuration with PowerShell

Modifying the Teams Tenant Federation Configuration with PowerShell

A new parameter for the Set-CsTenantFederationConfiguration cmdlet made me look at the Teams tenant federation configuration again to improve how a script works. Instead of taking all the domains guest accounts came from and adding them to the configuration, I created a function to check if the tenant uses Microsoft 365. If it does, we add the tenant to the allow list in the tenant federation configuration. If not, we ignore the domain.

The post Modifying the Teams Tenant Federation Configuration with PowerShell first appeared on Office 365 for IT Pros.

Published on:

Learn more
Office 365 for IT Pros
Office 365 for IT Pros

Office 365 for IT Pros is the world's best book about Office 365 architecture, management, and deployment. Written by a team of highly experienced Microsoft MVPs, Office 365 for IT Pros is refreshed monthly.

Share post:

Related posts

Microsoft Teams: Improved copy and paste support for @mentions and shared contacts

Microsoft Teams preserves @mentions and shared contacts when you copy and paste messages in chats and channels. Instead of defaulting to plain...

5 hours ago

Microsoft Teams: Account Switching for Native Mac Controls via Dock and Menu Bar

Users will now find controls for switching between the accounts and tenants that they are signed into making it easier to navigate on Mac. Pro...

5 hours ago

Upcoming change: disabling Teams meeting recording expiration notification emails

Starting June 1, 2026, Microsoft will disable Teams meeting recording expiration notification emails for all Microsoft 365 tenants to reduce n...

5 hours ago

New URBAC permission to preview email content in Microsoft Defender for Office 365

Microsoft Defender for Office 365 introduces a new URBAC permission allowing admins to preview and download email content linked to “Ema...

5 hours ago

Unified RBAC enabled by default for new Microsoft Defender for Office 365 tenants

Starting May 30, 2026, new Microsoft Defender for Office 365 Plan 2 tenants will have Unified RBAC enabled by default, offering centralized, g...

5 hours ago

How to get better with Graph API – Part one

Check out this article via web browser: How to get better with Graph API – Part one As you might know, Graph API is an important part of...

2 days ago

Microsoft Teams: Ad-hoc room reservation from Teams Rooms on Windows console

Microsoft Teams Rooms on Windows will support ad-hoc room reservations directly from the console, enabling quick bookings without personal dev...

3 days ago

Microsoft 365 Copilot: People agent availability update

The People agent in Frontier will retire in March 2026, with its key features integrated into core Microsoft 365 Copilot. No admin or user act...

3 days ago

Targeted file and folder restores in Microsoft 365 Backup

Microsoft 365 Backup will enable admins to browse, search, and restore individual files or folders from SharePoint and OneDrive restore points...

3 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy