Powershell script for Office365 Federation

This script helps you To add a new domain and federate with your on-premise ADFS server. To federate your existing Office365 domain.   Requirement You need to run this script from the ADFS box which will federate with Office365. Basic idea of how to add a TXT entry to your hosting provider, for more info…