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
Microsoft 365 & Power Platform Call (Microsoft Speakers) – June 9th, 2026 – Screenshot Summary
Call Highlights SharePoint Quicklinks: Primary PnP Website: https://aka.ms/m365pnp Documentation & Guidance SharePoint Dev Videos Issues...
Microsoft Teams: Improved app and agent access request flows for admin‑blocked apps
Microsoft Teams will introduce a clearer, guided request flow for access to admin-blocked apps and agents, improving user notifications and ad...
Microsoft 365 Archive: File-level archiving General Availability
Microsoft 365 Archive now supports file-level archiving for SharePoint files, enabling cold storage with discoverability. Rolling out worldwid...
Converting Get-MailboxFolderStatistics ids for use with the Graph API
In this article, we discuss how to convert Exchange folderIds (as returned by the Get-MailboxFolderStatistics cmdlet) to the RestId identifier...