Home » Office 365 » Get-MsolDomainFederationSettings

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.

Get-MsolDomainFederationSettings
   -DomainName <String>
   [-TenantId <Guid>]
   [<CommonParameters>]

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.

Conclusion

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

Get-MsolDomain

Set-MsolDomainFederationSettings

Get-MsolFederationProperty