logo
search
Permission & Access Issues

How to Fix SharePoint Shared Folder User Not in Directory Error

Ayan MasoodAyan Masood Sep 28, 2026 869 views

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.

How to Fix SharePoint Shared Folder Access and 'User Not in Directory' Errors
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.
Before you start

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.

Solution 1Recommended

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.

1
Sign out of existing accounts

Go to office.com or microsoft365.com, click your profile picture in the top right corner, and select 'Sign out'.

2
Clear browser cache and cookies

Open your browser settings, navigate to the privacy or history section, and clear your cookies and cached site data for Microsoft and SharePoint domains.

3
Sign in with the intended account

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.

4
Bookmark the direct URL

Once the shared folder successfully opens, bookmark the direct URL in your browser for future access to avoid relying on the email invitation link.

Clear Browser Conflicts and Sign In with the Correct Account
Pro Tip: Using a dedicated Private or Incognito browsing window is the fastest way to bypass existing credential conflicts without clearing your main browser's cookies.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install the application: Run the installer and follow the on-screen prompts to set up WPS Office on your computer.
  3. 3. Share files instantly: Open any document, click 'Share' in the top right corner, and generate a secure link to collaborate without directory errors.
Easily share files and folders via simple links without complex directory configurations or guest account errors.Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Free, lightweight, and incredibly easy to navigate for users of all experience levels.Built-in WPS Cloud allows seamless syncing and real-time co-editing across Windows, Mac, iOS, and Android.
microsoft office alternative - wps office

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.