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

How to Remove Sensitivity Labels from SharePoint Files at Scale

It's easy to remove sensitivity labels from SharePoint Online files when only a few files are involved. Doing the same task at scale requires ...

5 hours ago

Build business understanding with Dataverse in Microsoft 365 Copilot

Microsoft 365 Copilot is now embedded as an in-app sidecar within Power Apps, Dynamics 365 Sales, and Dynamics 365 Customer Service—removing t...

23 hours ago

Microsoft Teams: Improved copy and paste support for @mentions and shared contacts

Microsoft Teams preserves @mentions and shared contacts when you copy and paste messages in chats and channels. Instead of defaulting to plain...

1 day ago

Microsoft Teams: Account Switching for Native Mac Controls via Dock and Menu Bar

Users will now find controls for switching between the accounts and tenants that they are signed into making it easier to navigate on Mac. Pro...

1 day ago

Upcoming change: disabling Teams meeting recording expiration notification emails

Starting June 1, 2026, Microsoft will disable Teams meeting recording expiration notification emails for all Microsoft 365 tenants to reduce n...

1 day ago

New URBAC permission to preview email content in Microsoft Defender for Office 365

Microsoft Defender for Office 365 introduces a new URBAC permission allowing admins to preview and download email content linked to “Ema...

1 day ago

Unified RBAC enabled by default for new Microsoft Defender for Office 365 tenants

Starting May 30, 2026, new Microsoft Defender for Office 365 Plan 2 tenants will have Unified RBAC enabled by default, offering centralized, g...

1 day ago

How to get better with Graph API – Part one

Check out this article via web browser: How to get better with Graph API – Part one As you might know, Graph API is an important part of...

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