Home ยป Office 365 ยป Get-MsolDomainFederationSettings


The Get-MsolDomainFederationSettings cmdlet in PowerShell gets key settings for a federated domain from Microsoft Office 365.

The syntax to get domain federation settings from the Azure Active Directory is given below.

   -DomainName <String>
   [-TenantId <Guid>]

In this article, we will discuss how to get federation settings for the domain with PowerShell.

How to Get Domain Federation Settings in Office 365

To get domain federation settings in Office 365, use the Get-MsolDomainFederationSettings cmdlet.

Get-MsolDomainFederationSettings -DomainName "shellgeeklab.onmicrosoft.com"

This command returns the federation settings for the โ€œshellgeeklab.onmicrosoft.comโ€ domain.


I hope the above article on how to use Get-MsolDomainFederationSettings to get domain federation settings from Azure Active Directory is helpful to you.

You can find more topics about PowerShell Active Directory commands and PowerShell basics on the ShellGeek home page.

Related Links