Fix SharePoint Access Denied for Re-Invited Guest Users
Question details
A re-invited guest user is encountering an access denied error when attempting to open a SharePoint site.

- Product
- SharePoint / Azure Active Directory
- Device & OS
- not provided
- Scenario
- A guest user who was previously deleted from Azure AD is invited back to collaborate on a SharePoint site.
- Observed behavior
- The guest receives a SharePoint 'Access Denied' message because old, stale membership records are still lingering in the SharePoint site groups.
Ensure you have Azure Active Directory Administrator privileges to manage deleted users, as well as Site Collection Administrator rights in SharePoint to modify backend permission groups.
Purge Stale Records and Re-invite the Guest User
Completely remove the old guest account footprint from both the Azure AD recycle bin and hidden SharePoint directories to prevent ID conflicts during the new login.
When a guest user is deleted and re-invited, Azure AD generates a new unique identifier for them. However, SharePoint often caches the old identifier in its user information list. When the user tries to log in, SharePoint matches the email but sees a mismatched ID, resulting in an access denied error. Clearing these hidden caches resolves the issue.
Go to the Microsoft Entra admin center (or Azure portal). Navigate to Users > Deleted users. Locate the previously deleted guest account and permanently delete it from the recycle bin.
Navigate to the target SharePoint site as an administrator. Go to Site Permissions and manually remove the old guest user account from any specific site groups they were previously a part of.
In your web browser, append '/_layouts/15/people.aspx?MembershipGroupId=0' to the end of your SharePoint site URL and press Enter. Locate the guest user in this master directory, select their account, and delete them via the Actions menu.
After waiting a few minutes for the changes to sync across the tenant, go back to Azure AD or your SharePoint site's sharing menu and send a fresh invitation to the guest's email address.

Simplify Team Collaboration with WPS Office
If managing complex Azure AD guest accounts and troubleshooting SharePoint access errors is slowing down your workflow, WPS Office provides a lightweight and hassle-free alternative. Enjoy seamless document creation and easy cloud sharing without the heavy administrative overhead.
- 1. Download WPS Office: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the Software: Run the downloaded installer file and follow the quick setup wizard.
- 3. Share Documents Easily: Open WPS Office, create or import your documents, and use the built-in sharing features to collaborate with external users instantly.

Frequently Asked Questions
Why does SharePoint show 'Access Denied' when the user is active in Azure AD?
SharePoint maintains its own User Information List which syncs with Azure AD. If a user is deleted and re-invited, SharePoint might still hold the old user ID in its cache. This mismatch causes the system to deny access, assuming the new login token does not belong to the cached profile.
How do I access the hidden 'All People' list in SharePoint?
You can access the hidden master directory by navigating to your root site URL and adding '/_layouts/15/people.aspx?MembershipGroupId=0' to the end of the web address. You must have Site Collection Administrator rights to view and edit this page.
Do I have to wait after deleting the user from the Azure AD recycle bin?
Yes, it is highly recommended to wait a few minutes (sometimes up to an hour in larger environments) after permanently deleting the user from Azure AD and clearing the SharePoint lists. This allows Microsoft 365 backend services to fully synchronize before you issue the new invitation.




