External user is unable to access the shared content from OneDrive and getting the attached error.

Ajaz Khan 266 Reputation points
2024-03-06T14:11:00.7733333+00:00

SPO error

External user is unable to access the shared content from OneDrive and getting the attached error. Ran Check User Access diagnostics and found that the affected user does not have access on the shared folder but he has.

1- Removed the user from the site collection and shared the folder again.

2- External Sharing is enabled Anyone for both SPO and OD on the tenant level.

3- Anyone can invite a guest user enabled in User settings on Azure AD.

4- It worked before but now giving the error.

5- SharePoint Online Client Extensibility Web Application is permission granted in Enterprise App.

6- The external user is using correct credentials to access the shared file.

Kindly let me know what else we can check.

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | OneDrive | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 24,941 Reputation points Moderator
    2024-03-07T02:21:37.46+00:00

    Hi @Ajaz Khan,

    This article provides general solutions to this error: Error AADSTS50020 - User account from identity provider does not exist in tenant. Please firstly try the solutions in it. Kindly let us know if it solves the issue or the issue still persists.

    Thanks.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.