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 365 Copilot Help & Learning Portal

The Copilot Prompt Gallery + Help & Learning Portal provides central hubs where you can discover, customize, save, and reuse high‑quality ...

1 day ago

Teams Admin Center Simplifies External Collaboration

Microsoft is rolling out a UX update for the Teams admin center to make it easier to manage external collaboration settings. The new UX doesn’...

2 days ago

Episode 418 – An Anti-AI Adventure with Cat Schneider: SharePoint, Power Automate, and Conference Shenanigans

Welcome to Episode 418 of the Microsoft Cloud IT Pro Podcast. In this episode, Ben sits down with Cat Schneider during a lively conference to...

3 days ago

January 2026 Update for Office 365 for IT Pros

Monthly Update #127 for the Office 365 for IT Pros eBook (2026 edition) is now available for current subscribers to download from Gumroad.com....

3 days ago

Training People to Use Microsoft 365 Copilot Effectively

A LinkedIn post explained how the UK Revenue and Customs authority train 30,000 people to use Microsoft 365 Copilot effectively. It’s a remind...

4 days ago

Microsoft 365 Copilot: Video Overviews in Copilot Notebook

Microsoft 365 Copilot introduces Video Overviews in Copilot Notebooks, allowing users with a valid license to generate short, narrated video s...

5 days ago

Microsoft 365 Copilot: Streamline SharePoint list creation with new list agent

Microsoft 365 Copilot introduces the SharePoint list agent to create SharePoint lists via natural language and structured content. Rolling out...

5 days ago

Work or Web – Which one to use when with M365 Copilot

Work or Web? Learn which one to use when, with simple things to keep in mind or ask yourself using M365 Copilot. Related videos Check out my C...

5 days ago

Microsoft 365 Copilot for Service – Create case records from customer emails with one click

We are announcing the ability to create case records from customer emails within Outlook in Microsoft 365 Copilot for Service. This feature wi...

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