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.

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
857 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,826 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,144 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 16,716 Reputation points Microsoft Vendor
    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.