Exchange Online administration : Important Update to the Get-FederationInformation PowerShell Cmdlet

Hi All,
Greetings for the day!!!
Today I am sharing important update related to Exchange Online PowerShell CMLDLET – Get-FederationInformation
Update: Change in behaviour of the Get-FederationInformation cmdlet in Exchange Online. This change limits the scope of domain data returned by the cmdlet.
Details
Before Update / Current behavior :
- Previously, the
Get-FederationInformationcmdlet returned all federated domain information in the DomainNames field - Currently, the Get-FederationInformation cmdlet allows any user to retrieve federation information for a specified domain without requiring authentication.
- This includes details such as ‘DomainNames’, which returns a list of all accepted domains for the target tenant.
After Update:
- After this update, the cmdlet will only return domain information that is explicitly passed as a parameter.
- Going forward, the “DomainNames” field will no longer return all federated domain information.
- Instead, it will only include the domain information that is passed as the parameter.
- This change may impact scripts or tools that rely on retrieving all federated domains by default.
- There is no change to the cmdlet’s availability or core functionality—only the scope of data returned is affected.
- This change is designed to enhance the security of tenant information. It limits the exposure of domain names to unauthorized users.

Actions we need to do
- Review any automation, scripts, or tools that use the
Get-FederationInformationcmdlet. - Ensure they explicitly pass the required domain(s) as parameters.
- Communicate this change to our Exchange Online administrators and support teams to avoid confusion or unexpected results.
REFERENCES
- Important Update to the Get-FederationInformation Cmdlet in Exchange Online – https://techcommunity.microsoft.com/blog/exchange/important-update-to-the-get-federationinformation-cmdlet-in-exchange-online/4410095
Thanks for reading ! Stay tuned on Microsoft 365 Junction for all updates, issues, solutions and tutorials
HAVE a FANTASTIC LEARNING AHEAD!!! LIFE IS BEAUTIFUL 🙂

You must be logged in to post a comment.