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

Microsoft 365 & Power Platform Call (Microsoft Speakers) – March 24th, 2026 – Screenshot Summary

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

3 hours ago

SharePoint Advanced Management: Site admin control for restricted content discovery

SharePoint Advanced Management now lets SharePoint admins delegate Restricted Content Discovery (RCD) control to site admins, who can enable/d...

6 hours ago

Microsoft 365 Copilot: Introducing Federated Copilot Connectors

Microsoft 365 Copilot now supports federated Copilot connectors, enabling secure, real-time data access from third-party sources without stori...

6 hours ago

Fix/Update: Delete Attribute feature in Viva Glint temporarily unavailable

The Delete Attribute feature in Viva Glint will be temporarily unavailable from March 23, 2026, for 1–2 weeks to fix a known issue. Admins can...

6 hours ago

Power Apps – Use Microsoft 365 Copilot in model-driven apps

We are announcing the ability to use Microsoft 365 Copilot in model-driven apps in Power Apps. This feature will reach general availability on...

6 hours ago

Planner: Microsoft Planner tab support for shared and private channels in Microsoft Teams

Now you can add Microsoft Planner as a tab in shared and private channels in Microsoft Teams, which allows to create and manage tasks directly...

7 hours ago

Microsoft Purview: File Creation/Modification conditions in DLP for Sharepoint/OneDrive and AutoLabelling

File Creation and File Modification conditions in Microsoft Purview DLP for SharePoint and OneDrive and AutoLabelling will give organizations ...

7 hours ago

Microsoft Copilot (Microsoft 365): Create interactive visuals in Copilot Pages

Create an interactive report, visualization, or dashboard using Copilot Pages. Copilot uses web data and the latest LLM models and can also gr...

7 hours ago

Microsoft Purview: Data Lifecycle Management – DLM Retention support Microsoft Teams call logs

Microsoft Teams stores call logs in several persistent locations, such as CDR logs. Currently, these logs are retained indefinitely. However, ...

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