Error connecting VS\Office apps to AAD-backed VSTS: "An error occurred. Contact your administrator for more information" ... "Relying party: Microsoft Office 365 Identity Platform"

ADFS-VSTS-ERR

If you're seeing an error like this one above when connecting to Visual Studio Team Services (VSTS) from Office apps, git clients, or Visual Studio (to name a few), first try to repro outside those apps. The following steps perform the same sort of connection, only directly to AAD:

If you see the same error the fix is to enable Forms Authentication in AD FS.  If you require assistance doing this or with anything in AD FS, please contact Microsoft Azure AD Support at https://portal.azure.com/#create/Microsoft.Support.

 


References:

"How to troubleshoot sign-in issues with Office modern authentication when you use AD FS"
https://support.microsoft.com/sr-latn-rs/help/3052203/how-to-troubleshoot-sign-in-issues-with-office-modern-authentication-when-you-use-ad-fs