Unable to access some onedrive shared files

Komal Bagai 20 Reputation points
2026-08-03T04:33:15.0466667+00:00

Hi,

I am unable to access some onedrive files that people in my organisation have shared with me, while others I can. I think the likely issue that my email was deactivated for some time in between, and now that its reactivated, the old profile is causing some conflicts. IT has already deleted the old profile and started a new profile on the same email. The odd part is that some files (like a screenshot) that are shared on teams, I can view in teams, but when I open onedrive, it says that I dont have access. Would appreciate any help with this. Attaching the error screenshot for reference.

User's image

Thanks!

Microsoft Teams | Microsoft Teams for business | Files | Access OneDrive files
0 comments No comments

Answer accepted by question author
Dora-T 635 Reputation points Independent Advisor
2026-08-03T05:15:47.6333333+00:00

Hi Komal Bagai

Based on your description and the error message shown in your screenshot, this appears to be related to a legacy SharePoint user account that is still associated with the affected site. This can happen if a user account was previously deactivated or recreated using the same email address, as SharePoint may still retain a reference to the previous account. 

In this case, I recommend asking your SharePoint Administrator or Global Administrator to run Microsoft's Site User ID Mismatch diagnostic. You can find more information here: Fix site user ID mismatch in SharePoint or OneDrive - SharePoint | Microsoft Learn 

The administrator will need the affected user's email address and the URL of the affected SharePoint site. 

If the issue persists, the SharePoint Administrator or site owner may need to: 

-Remove the old (legacy) user account from the affected SharePoint site's permissions or User Information List (UserInfo).  

-Grant permissions to your current account again.  

-Ask you to sign out of Microsoft 365, sign back in, and then test access to the affected files.  

For more information, you may also refer to: Remove users from SharePoint - SharePoint in Microsoft 365 | Microsoft Learn 

If your IT administrator needs further assistance or would like Microsoft to investigate the issue further, they can open a support request through the Microsoft 365 admin center. This is the recommended approach for scenarios involving recreated accounts or SharePoint User ID mismatches that require further investigation. 

For detailed instructions on how to get support, please refer to Get support - Microsoft 365 admin | Microsoft Learn.  

I hope this helps clarify the situation. 


If you have extra questions about this answer, please click "Comment".  

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

Was this answer helpful?

1 person found this answer helpful.

1 additional answer

Sort by: Oldest
  1. Ramesh Subedi 185 Reputation points
    2026-08-03T05:00:48.88+00:00

    Hi Komal,

    It did happen to one of our users as well.

    What we did was create a new account using different UPN and add their old emaill address as alias and the sharing has been sent to their new UPN which resolves the issue and we have no any sharing issues with them afterwards.

    I believe if you do the same, it will fix your sharing issue as well.

    Many Thanks

    Ramesh

    Was this answer helpful?

    0 comments No comments

Your answer

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