How to Fix SharePoint Guest User Was Not Found in the Directory
Question details
The user needs to resolve an error preventing them from opening a shared SharePoint file or folder.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Attempting to open a SharePoint guest-access link using an external or personal account.
- Observed behavior
- SharePoint blocks access and displays the message 'The user was not found in the directory.'
Verify that you are completely signed out of any conflicting Microsoft accounts in your browser, and have the exact original invitation email ready.
Verify Account Credentials and Link Validity
Ensure you are using the correct authenticated account and that the shared link has not expired.
SharePoint links with 'Specific people' permissions require strict authentication. The error most commonly triggers when a browser automatically attempts to log in using a cached Microsoft account that differs from the one the file was shared with.
Open a Private or Incognito browsing window to ensure no conflicting accounts are currently signed in.
Copy the guest-access link from your invitation email and paste it into the address bar of the Private window.
When prompted to authenticate, enter the exact email address that received the sharing invitation, even if it is a personal account.
If the link still fails to load or shows a timeout, contact the sender to confirm the link is still active and has not exceeded its expiration date.

Request Admin to Add You as a Guest User
If you are using a personal account or external domain, the organization's administrator may need to formally add your account to their Microsoft 365 directory.
Looking for a Hassle-Free Way to Collaborate? Try WPS Office
If dealing with Microsoft 365 directory errors and complex SharePoint permissions is slowing down your team's workflow, consider WPS Office. It provides a highly compatible, lightweight alternative to Microsoft Office, complete with straightforward cloud sharing and real-time collaboration that doesn't require managing external directories.
- 1. Install WPS Office: Download and install the free WPS Office suite on your device.
- 2. Open your document: Open the file you wish to collaborate on and click the 'Share' button in the top right corner.
- 3. Generate a simple link: Set the permission to 'Anyone with the link' and instantly share it with your external guests without directory configurations.

Frequently Asked Questions
Why does SharePoint say my account is not in the directory?
This happens when the email address you are using to sign in is not registered as an internal user or an officially invited guest in the host organization's Microsoft 365 directory. It also frequently occurs if your browser automatically logs you in with a different, cached Microsoft account.
Can I access a SharePoint link without creating a Microsoft account?
If the sender shares the file using an 'Anyone with the link' permission level, you do not need an account or directory access. However, if they use 'Specific people,' you must authenticate using the exact email address invited.
How long do SharePoint guest links typically stay active?
Expiration dates are determined by the file owner's preferences or organizational IT policies. By default, many organizations set external links to expire after 30 days. Once expired, a new sharing link must be generated.
How does an IT administrator resolve the 'not found in directory' error?
An IT administrator resolves this by navigating to the Microsoft Entra ID (Azure AD) admin center and sending a formal Guest User invitation to your email address, which adds your profile to their directory once accepted.




