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

Get-FederationInformation
Get-FederationInformation

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-FederationInformation cmdlet 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.
Screenshot of PowerShell interface showing the command 'Get-FederationInformation' and its output related to Exchange Online management.
Figure: Exchange Online PowerShell – Executing the CMDLET – Get-FederationInformation

Actions we need to do

  • Review any automation, scripts, or tools that use the Get-FederationInformation cmdlet.
  • 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

Thanks for reading ! Stay tuned on Microsoft 365 Junction for all updates, issues, solutions and tutorials

HAVE a FANTASTIC LEARNING AHEAD!!! LIFE IS BEAUTIFUL 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL. ENJOY THE WHOLE JOURNEY :) Founder of Microsoft 365 Junction, Speaker, Author, Learner, Developer, Passionate Techie. Certified Professional Workshop Facilitator / Public Speaker. Believe in knowledge sharing. Around 20+ years of total IT experience and 17+ years of experience in SharePoint and Microsoft 365 services Please feel free me to contact for any SharePoint / Microsoft 365 queries. I am also very much interested in behavioral (life changing) sessions like motivational speeches, Success, Goal Setting, About Life, How to live Life etc. My book - Microsoft 365 Power Shell hand book for Administrators and Beginners and 100 Power Shell Interview Questions - https://www.amazon.in/Microsoft-Administrators-Beginners-Interview-Questions/dp/9394901639/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1679029081&sr=8-11

You may also like...

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.