To resolve this issue, use one of the following methods, as appropriate for your situation.
Method 1: Troubleshoot AD FS connectivity
Use the following Microsoft Knowledge Base article to troubleshoot AD FS service problems that might limit connectivity:
2419389�Internet browser cannot display the AD FS webpage when a federated user tries to sign in to Office 365 web resources
Method 2: Troubleshoot AD FS Proxy server functionality
If sign-in problems that are described earlier only occur when you are connected to AD FS from outside the on-premises network, use the following Microsoft Knowledge Base article to troubleshoot AD FS Proxy service problems that might limit connectivity:
2712961�How to troubleshoot the AD FS connection
Method 3: Troubleshoot AD FS SSL certificate problems
If a sign-in attempt to Office 365 web services results in a certificate warning from the AD FS server, use the following Microsoft Knowledge Base article to troubleshoot SSL certificate problems:
2523494�You receive a certificate warning from AD FS when you access Office 365 web resources by using a federated account
Method 4: Reset the AD FS service endpoints to the default configuration
To make sure that the AD FS service endpoint configuration metadata is updated to the Windows Azure Active Directoroy (Windows Azure AD) authentication system, use the "How to update the configuration of the Office 365 federated domain" section of the following Microsoft Knowledge Base article:
2647048 How to update or to repair the configuration of the Office 365 federated domain
Method 5: Troubleshoot Kerberos authentication problems with AD FS
To diagnose and resolve Kerberos authentication problems with AD FS, use the following Microsoft Knowledge Base article:
2461628�A federated user is repeatedly prompted for credentials during sign-in to Office 365
Method 6: AD FS service problems limit sign-in
To diagnose and resolve common AD FS service problems that limit authentication, use the following Microsoft Knowledge Base article:
2713898�"There was a problem accessing the site" error from AD FS when a federated user signs in to�an organizational account�