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

How to Automatically Sync Dynamics 365 CRM Data as SharePoint Metadata

Managing documents in a Dynamics 365 SharePoint integration environment can quickly become difficult as files grow across sales, service, comp...

1 hour ago

New flexibility and choice for sharing organizational data across Microsoft 365 and Viva apps

Microsoft 365 tenant admins can now control which public organizational attributes are shared with Microsoft 365 Profile and specific Viva app...

3 hours ago

Microsoft Teams: Front-of-room view control for Webinars and structured meetings in Teams Rooms on Android

Microsoft Teams Rooms on Android will default front-of-room displays to attendee view during webinars and structured meetings starting June 20...

4 hours ago

Microsoft Teams: Assign Open Shifts

Auto Assign Open Shifts is a Microsoft Teams Shifts feature that automatically fills unassigned (open) shifts for you. It lets managers automa...

4 hours ago

Automating Microsoft 365 with PowerShell June 2026 Update

Version 24 of the Automating Microsoft 365 with PowerShell eBook is now available for current subscribers to download. The updated PDF and EPU...

5 hours ago

Microsoft 365 & Power Platform Call (Microsoft Speakers) – May 19th, 2026 – Screenshot Summary

Call Highlights   SharePoint Quicklinks: Primary PnP Website: https://aka.ms/m365pnp Documentation & Guidance SharePoint Dev Videos Issues...

20 hours ago

Update to agents in SharePoint: Simpler launch experience and new site AI settings

SharePoint updates simplify agent management with new Site AI settings, letting site owners control highlighted agents. Approved agents won’t ...

1 day ago

SharePoint Pages: Heading 1 (H1) option now available in web part title areas

SharePoint Pages will add Heading 1 (H1) as an optional heading level in web part title areas to enhance accessibility and semantic structure....

1 day ago

Microsoft Copilot Studio – Classic agent creation moves from Teams to web experience, retiring June 30, 2026

Classic agent creation in Microsoft Copilot Studio is moving from the Teams app to the web app, retiring Teams-based creation on June 30, 2026...

1 day ago

Microsoft Viva Copilot Analytics: Daily Copilot usage snapshot with near real-time data

Microsoft Viva Insights is introducing a new Power BI report, “Microsoft 365 Copilot latest usage snapshot,” providing daily updat...

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