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 moreRelated 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...
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...
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...
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...
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...
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...
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 ...
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....
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...
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...