When a user signs into Office 365, Azure, or Intune ,”Sorry, but I’m having trouble signing in”
April 9, 2021
Applicable In:
Cloud Services (Web roles/Worker roles), Azure Active Directory, Microsoft Intune, Azure Backup, Office 365 User and Domain Management, Office 365 Identity Management
This article
Note
Office 365 ProPlus is being renamed to Microsoft 365 Apps for enterprise. For more information on this change, please read this blog post.
Problem
When a user tries to sign in to a Microsoft cloud service (such as Office 365, Microsoft Azure, or Microsoft Intune) from a sign-in webpage whose URL begins with “”, the user receives a , to a login error message , and cannot log in to https://login.microsoftonline.com/login.srf.
Here is an example of an error message a user might receive :
Sorry, but we're having trouble signing you in.
Please try again in a few minutes. If this doesn't work, you might want to contact your admin and report the following error:
Solution
To resolve this Problem ,Please identify the error code,then contact technical support. To identify the error code ,Follow the steps below:
View the source code of the “login.microsoftonline.com” webpage displaying the error message.
For example & # xff0c; In Internet Explorer & # xff0c; press the Alt key to show the menu bar (if the menu bar is not already there) & # xff0c; then click “Sources” on the “View” menu.
In source Search for HR=string, in the code and write down the number code after HR=string.
Known List of Error Codes
The following table lists the known error codes for the “Sorry, but we are having trouble logging in” error messages. The table also contains information on how to resolve the problem.
Error Code
More Information
Resource
8004786C
Enabling Active Directory User Accounts as This issue can occur when the Office 365 Single Sign-On (SSO) is piloted ,and then the user account is piloted incorrectly,.
2392130 Resolve username issue when federated users sign in to Office 365, Azure or Intune
80041034
When UPN has been changed to original value , ; This problem may occur.
80041317 or 80043431
If the configuration settings of the on-premises Active Directory Federation Services (AD FS) 2.0 service and the Azure AD authentication system of the Office 365 federated domain do not match, ; this problem may occur.
2647020 “80041317” or “80043431” error when a federated user signs in to Office 365, Azure, or Intune
80048163
If in the user’s login name This problem occurs when the unsupported character , is used.
8004789A
2635357 “Sorry, but cannot sign in” and “8004789A” errors when federated users try to sign in to Office 365, Azure, or Intune
MORE INFORMATION
This issue occurs if user authentication is interrupted after an Azure Active Directory (Azure AD) authentication system error state has been detected,.