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

Build a Power Apps MCP App for Microsoft 365 Copilot

In this post we build a small MCP App on a Power Apps model-driven app (MDA). The app exposes one custom tool that generates a 5-color palette...

8 hours ago

Microsoft 365 & Power Platform Call (Microsoft Speakers) – June 23rd, 2026 – Screenshot Summary

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

15 hours ago

Going beyond text in Microsoft 365 Copilot – Introducing SharePoint Copilot Apps

Microsoft 365 Copilot is brilliant with words - but work isn't only words. Introducing SharePoint Copilot Apps: bring rich, interactive UX com...

19 hours ago

Going beyond text in Microsoft 365 Copilot – Introducing SharePoint Copilot Apps

Microsoft 365 Copilot is brilliant with words - but work isn't only words. Introducing SharePoint Copilot Apps: bring rich, interactive UX com...

19 hours ago

Microsoft Teams: New Events templates with “Optimize for large audience” and policy-based behavior

Microsoft Teams is introducing new Events templates with an “Optimize for large audience” option to support events over 1,000 atte...

22 hours ago

Microsoft Teams: Location-Based Routing update blocks OS default location for Operator Connect in India

Microsoft Teams updated Location-Based Routing for Operator Connect in India to block manually set Windows OS default locations, enforcing net...

22 hours ago

Automatic recording and transcription for Teams Call Queues

Microsoft Teams Call Queues will support automatic call recording and transcription starting mid-July 2026, with recordings stored in SharePoi...

22 hours ago

Retirement of Turnitin Similarity integration in Microsoft Teams Assignments

Microsoft is retiring the Turnitin Similarity integration in Teams Assignments by December 31, 2026, urging institutions to switch to Turnitin...

22 hours ago

Microsoft Viva: New Copilot usage and cost insights

Microsoft Viva introduces default-enabled cost management insights to track Copilot credit usage across AI services like Cowork and WorkIQ API...

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