Solution for “That didn’t work – We’re sorry, but ‘User’ can’t be found in the ‘domain’ directory.” – Error in SharePoint Online
Problem: When an external user tried accessing the SharePoint Online link, got this error message:
“That didn’t work
We’re sorry, but [email protected] can’t be found in the Crescent.sharepoint.com directory. Please try again later, while we try to automatically fix this for you.
Click here to sign in with a different account to this site.
This will sign you out of all other Office 365 services that you’re signed into at this time.
If you’re using this account on another site and don’t want to sign out, start your browser in Private Browsing mode for this site (show me how). If that doesn’t help, contact your support team and include these technical details:
- Correlation ID: ae65ef9f-f0f7-3000-0c5f-e08982a5f405
- Date and Time: 12/10/2020 5:00:31 AM
- URL: https://Crescent.sharepoint.com/
- User: [email protected] Issue
- Type: User not in directory.”
Here is the Error screenshot:
Root Cause and Solution:
After confirming the proper access was granted, we found this is because of session conflict! The user may be invited with one Email ID, But he may be logged in with another Email ID and then tries to log in to the SharePoint site where the currently logged-in ID doesn’t have access. Here in my case, I was logged in with a domain account: [email protected]CrescentTech.com, and tried accessing the SharePoint site of a different domain: Crescent.com
The solution: Use “Private Mode” or “Incognito Mode” in the browser or log out from the existing user sessions and then open the site again with the right user account! So, make sure you are using the same account which received the email invitation. Often this happens with external users, but it may also occur when internal users try accessing external sites.
This error may also happen when the External user has not accepted the invitation and tries directly accessing the site. In case, the above solution didn’t fix the problem, You may try removing the external user from Microsoft 365 and SharePoint and re-invite them.