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
Automating Microsoft 365 with PowerShell (2027 Edition)
The third edition of the Automating Microsoft 365 with PowerShell eBook is now available in EPUB and PDF formats. The paperback version will b...
Microsoft 365 License Price Increases in July 2026: All You Need To Know
In early December 2025, Microsoft announced a significant global update to pricing and packaging for selected commercial Microsoft 3...
Microsoft Viva: Copilot Analytics – Insights in Cowork and WorkIQ spend and usage
Insights into AI spend (Copilot credit usage) at a group or team level will be available in Viva Insights as a dashboard and in Advanced insig...
Microsoft Viva: Create and customize PBI reports
We are introducing a new feature for leaders and analysts of Viva Insights, where they can view a Power BI report, and edit time range, filter...
Microsoft 365 Copilot: Publish organization prompts to Copilot Chat
Microsoft 365 Copilot now lets admins create and publish organization-specific prompts in Copilot Chat, guiding users with curated, relevant s...
Microsoft Teams: Open message links in new window
Microsoft Teams will allow users to open message links in a new window on desktop (Windows and Mac) starting July 2026, enhancing multitasking...
Dataverse – Chat and reason over Dataverse business data in Microsoft 365 Copilot (preview)
We are announcing the ability to chat and reason over Dataverse business data with Microsoft 365 Copilot in Microsoft Dataverse. This feature ...
Microsoft 365 app: Updated light-weight Notebooks experience in the Microsoft 365 Copilot App (iOS)
Copilot Notebooks in the Microsoft 365 Copilot app (iOS) now lets users organize related chats, output creations, and references into a persis...
Microsoft Teams: Language selection by users in Teams Rooms on Android
Users can now choose their preferred meeting language in Teams Rooms on Android. Select from up to 69 languages using the language button on t...