Get ADFS Token in Powershell
问题 We have an ADFS 2.0 Environment that is used to federate our Active Directory domain with Office 365. Recently we had an issue where the cluster stopped responding which in turn broke email/calendar access for all of our users. As we don't have any monitoring for ADFS currently I am trying to write a PowerShell script that will periodically attempt to authenticate to our ADFS cluster and get a valid token similar to the SSO test at testexchangeconnectivity.com works. It appears that the token