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”


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



"How to troubleshoot sign-in issues with Office modern authentication when you use AD FS"

Comments (0)

Skip to main content