SharePoint External B2B Guest — Access Blocked (Error AADSTS90072)


## Symptom

An external guest user attempts to access a shared SharePoint Online file or folder using an authentic invitation link, but the login process fails with a hard stop on a Microsoft "Sorry, but we're having trouble signing you in" screen.

 

The page displays the following technical details:

 

## Root Cause

This issue is caused by an Identity Provider Mismatch on the backend Guest User object.

Microsoft allows an end-user to register a corporate email address (e.g., user@company.com) as a consumer "Personal Microsoft Account" (Live ID) wrapper. If the guest user inadvertently selects "Personal Account" during login or invitation redemption, Entra ID attempts to validate them against a personal identity track.

If the user object in the host tenant is configured as an enterprise account (or if the profile is in a partially purged state), Entra ID fails to find a matching personal guest record inside the host directory. It then flags the user as "does not exist in tenant" and blocks the hand-off to SharePoint Online.

## Resolution Steps

To resolve this, the existing guest profile must be fully purged from both the master directory and the SharePoint site collection database before initiating a clean enterprise redemption.

### Step 1: Purge the Stale Object in Entra ID

  1. Log into the Microsoft Entra Admin Center as a Global Administrator or User Administrator.

  2. Navigate to Identity > Users > All Users.

  3. Search for the affected external email address and select Delete.

  4. Navigate to the Deleted users blade in the left-hand menu.

  5. Select the user and click Delete permanently.

    Note: Failure to permanently delete the object will cause Entra ID to reuse the broken MicrosoftAccount metadata stub upon re-invitation.

     

### Step 2: Clear the SharePoint Site Collection Profile Stub (Optional / Conditional)

Note: This step can often be skipped. Only perform this if the user continues to experience the error after completing Steps 1 and 3.

Even after deleting a user from Entra ID, SharePoint occasionally retains a hidden, site-level user record that will block re-authentication. Run the following PowerShell command to drop it:

 

# Connect to your SharePoint Admin Service
Connect-SPOService -Url "https://<tenant>-admin.sharepoint.com"

# Remove the user stub from the specific target site collection
Remove-SPOUser -Site "https://<tenant>.sharepoint.com/sites/<SiteName>" -LoginName "user_domain.com#EXT#@<tenant>.onmicrosoft.com"

 

### Step 3: Re-Invite and Enforce Clean Redemption

  1. Go back to Entra ID > Users > All Users and click New User > Invite external user.

  2. Input the user's corporate email and trigger the invitation.

  3. Ensure they are added to any required Conditional Access/Token Protection Exclusion Groups if active on the tenant.

  4. Instruct the End-User explicitly:

Verify in the Entra User list that the user’s Identities column now reflects ExternalAzureAD instead of MicrosoftAccount. The error will be resolved.



Article ID: 1241
Created: June 26, 2026
Last Updated: June 26, 2026
Author: Natural Networks NOC [support@naturalnetworks.com]

Online URL: https://kb.naturalnetworks.com/article.php?id=1241