How to Fix SharePoint Shared Folder User Not in Directory Error
Question details
User is unable to access a shared SharePoint folder, experiencing repeated email verification prompts and a 'User not in directory' error across multiple browsers.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Accessing a shared SharePoint folder using an invitation link via a web browser.
- Observed behavior
- The shared folder requires constant email verification, occasionally shows up in OneDrive, but ultimately fails to open consistently with a 'User not in directory' error.
Verify that you know the exact email address the SharePoint invitation was sent to, as using a different Microsoft account or alias often causes directory conflicts.
Clear Browser Conflicts and Sign In with the Correct Account
Use this method to resolve credential conflicts caused by multiple Microsoft accounts being signed into the same browser.
Browsers often cache Microsoft login credentials. If you are signed into a personal account but need to access a folder shared with a work account, SharePoint will check the directory of the personal account, resulting in the 'User not in directory' error.
Go to office.com or microsoft365.com, click your profile picture in the top right corner, and select 'Sign out'.
Open your browser settings, navigate to the privacy or history section, and clear your cookies and cached site data for Microsoft and SharePoint domains.
Open the SharePoint invitation link in a fresh browser session (or Incognito/Private window) and log in strictly with the email address the invitation was sent to.
Once the shared folder successfully opens, bookmark the direct URL in your browser for future access to avoid relying on the email invitation link.

Synchronize the Shared Folder Locally via OneDrive
Sync the folder to your local computer to access files directly from File Explorer, bypassing browser-based authentication loops.
Request Permission Reset from the SharePoint Owner
If technical workarounds fail, your guest account profile may be corrupted or improperly configured in the organization's Azure Active Directory.
Enjoy Seamless Document Sharing with WPS Office
If you are tired of dealing with complex directory errors and permission conflicts in Microsoft Office, try WPS Office. It provides an intuitive, lightweight cloud collaboration environment that is fully compatible with Microsoft Office formats, making file sharing effortless for everyone.
- 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install the application: Run the installer and follow the on-screen prompts to set up WPS Office on your computer.
- 3. Share files instantly: Open any document, click 'Share' in the top right corner, and generate a secure link to collaborate without directory errors.

Frequently Asked Questions
Why does SharePoint say 'User not in directory'?
This usually happens when your browser automatically signs you in with a different Microsoft account (like a personal email) than the one invited to the SharePoint folder. SharePoint checks the directory for the logged-in account, fails to find it on the allowed list, and throws the error.
How can I avoid repeated email verification for SharePoint links?
To stop repeated email verification prompts, open the folder successfully once, then bookmark the direct folder URL in your browser. Alternatively, you can use the 'Sync' feature in the top toolbar to link the folder to your local OneDrive desktop application.
Can I access a SharePoint folder without a Microsoft account?
Yes, but only if the file owner configures the sharing settings to 'Anyone with the link' (anonymous access). If they restrict the folder to 'Specific people', you will be forced to verify your identity using a Microsoft account or a verification code sent to your email.




