logo
search
Microsoft 365 Error Codes

How to Fix AADSTS90002 Tenant Not Found for SharePoint Guest Users

Jason MillerJason Miller Oct 19, 2026 868 views

Question details

External Azure Active Directory guest users are encountering an AADSTS90002 error when trying to access SharePoint Online sites.

How to Fix AADSTS90002 Tenant Not Found Error for SharePoint Guest Users
Product
SharePoint Online
Device & OS
not provided
Scenario
Guest users attempt to access shared content on a specific SharePoint site after being added to Azure Active Directory.
Observed behavior
Users receive an AADSTS90002 'Tenant not found' error message instead of loading the shared site, even after their accounts are recreated, reinvited, or added to the correct groups.
Before you start

Verify whether the affected guest users can successfully access content shared from a different SharePoint site to confirm if the issue is isolated to one specific site.

Solution 1Recommended

Remove and Re-add Guest Users via the SharePoint People and Groups Page

Clearing the guest user's profile directly from the hidden SharePoint site directory can resolve localized membership conflicts causing the AADSTS90002 error.

SharePoint maintains its own local user directory for each site. When guest users are deleted and recreated in Azure AD, their old, corrupted profiles might still linger in the specific SharePoint site's backend, leading to access failures.

1
Navigate to the affected SharePoint site

Open your web browser and log in to the specific SharePoint Online site where the guest users are experiencing the error.

2
Access the hidden People and Groups page

In the address bar, append /_layouts/15/people.aspx?MembershipGroupId=0 to the end of your site URL (for example: https://yourtenant.sharepoint.com/sites/sitename/_layouts/15/people.aspx?MembershipGroupId=0) and press Enter.

3
Remove the affected users

Locate the problematic guest users in the directory list, select their names, and remove them completely from the SharePoint site.

4
Re-invite the guest users

Once removed, navigate back to your standard site sharing settings, re-add the guest users to the site, and have them try accessing the link again.

Remove and Re-add Guest Users via the SharePoint People and Groups Page
Admin Rights Required: You must be a SharePoint Site Owner or have Site Collection Administrator permissions to view and modify the All People (MembershipGroupId=0) list.
Free Microsoft Office alternative

Experience Hassle-Free Document Collaboration with WPS Office

Troubleshooting SharePoint errors and Azure AD tenant routing can be time-consuming. If you are looking for an easier way to handle your daily documents without complex cloud administration, WPS Office is a fantastic free alternative. It provides a lightweight, highly compatible suite for Word, Excel, and PowerPoint files.

  1. 1. Download the software: Visit the official WPS Office website and download the free installer.
  2. 2. Install WPS Office: Run the installer and follow the simple on-screen instructions to set it up on your device.
  3. 3. Start collaborating: Open WPS Office to instantly create, edit, and share documents with full Microsoft format compatibility.
Completely free and lightweight office suiteFully compatible with Microsoft Office formats (.docx, .xlsx, .pptx)Familiar and intuitive user interface with zero learning curveSeamless local and cloud document collaboration without complex tenant management
microsoft office alternative - wps office

Frequently Asked Questions

What causes the AADSTS90002 Tenant not found error in SharePoint?

This error typically occurs when a guest user's profile becomes corrupted or mismatched between the global Azure Active Directory and a specific SharePoint site's local user directory.

Why didn't deleting the user from Azure AD fix the SharePoint error?

SharePoint maintains its own local list of users for each site. Deleting a user in Azure AD does not automatically clear their cached membership data in the specific SharePoint site's internal People and Groups list.

Can I access the MembershipGroupId=0 page without admin rights?

No, you need to have Site Owner or Site Collection Administrator privileges to access this specific backend directory page and manage site memberships.