How can I recover access to a shared OneDrive folder after accidentally deleting its sharing links?

Seema Chahal 0 Reputation points
2026-11-23T03:04:27.0866667+00:00

I accidentally removed all sharing links from a folder through the Manage Access section while trying to revoke access for former employees. I was unaware that the parent folder was owned by or stored under a different Microsoft account.

After removing the links, I also lost access to the folder, and we can no longer locate its parent folder.

Is there a way to identify the original folder owner, restore the deleted sharing permissions, and recover access to the folder and its contents without losing any files?

Any help or guidance would be greatly appreciated.

Microsoft 365 and Office | OneDrive | For business | Other

1 answer

Sort by: Newest
  1. AI answer

    2026-11-23T03:05:22.6166667+00:00

    A SharePoint administrator should identify the OneDrive owner through the Microsoft Purview audit log or OneDrive usage report, grant a current employee temporary administrative access, and then create a new sharing link because a removed link can no longer be used.

    1. Identify the owning OneDrive or SharePoint site

    Have your Microsoft 365 administrator preserve the original broken URL and note the approximate date and time when the link was removed.

    Use the original URL first:

    • tenant-my.sharepoint.com/personal/... indicates a user’s OneDrive for Business.
    • tenant.sharepoint.com/sites/... indicates a SharePoint site.
    • tenant.sharepoint.com/teams/... indicates a Teams-connected SharePoint site.^1^

    Then trace the sharing change:

    1. Sign in to the Microsoft Purview portal.
    2. Select Audit. If it is not visible, select View all solutions → Audit.
    3. Under Activities – friendly names, select Sharing and access request activities.
    4. Search a date range covering both the original sharing and the accidental removal.
    5. Export the results and look for:
      • SecureLinkDeleted
      • CompanyLinkRemoved
      • AnonymousLinkRemoved
      • SharingRevoked
      • Earlier SharingSet, SecureLinkCreated, or SharingInvitationCreated events

    These records can identify the affected resource and previous sharing activity.^2^ ^3^

    If the owner is still unclear, open Microsoft 365 admin center → Reports → Usage → OneDrive. The OneDrive usage report can provide the OneDrive URL, owner, owner principal name, site ID, and deletion status. User-specific details may need to be enabled in report settings.^4^

    2. Recover administrative access

    If the folder belongs to a current or former employee’s OneDrive, a SharePoint administrator can grant a designated current employee access:

    1. Open Microsoft 365 admin center.
    2. Select Admin centers → SharePoint.
    3. Select More features.
    4. Under User profiles, select Open.
    5. Select Manage User Profiles.
    6. Search for the identified owner.
    7. Right-click the profile and select Manage site collection owners.
    8. Add the recovery user to Site collection administrators, then select OK.
    9. Open the owner’s OneDrive URL and locate the parent folder.

    After recovery and resharing are complete, return to the same page and remove the temporary site collection administrator unless continued access is required.^5^

    A deleted secure, company-wide, or anonymous link is recorded as removed and is no longer usable.^3^ Once an owner or administrator regains access:

    1. Select the folder.
    2. Select Share or Manage access.
    3. Create a new link or grant named users/groups direct access.
    4. Confirm the intended current employees can open it.
    5. Remove the temporary administrator access if it is no longer needed.

    The available material does not document a supported way to reactivate the exact deleted link or restore its previous URL. Recreating the sharing assignment does not require deleting, moving, or restoring the files.

    4. Only if the folder or files are actually missing

    Removing a sharing link and deleting content are separate events. Check for FolderDeleted, FolderMoved, or FolderRenamed in the audit log before using recovery tools.^3^

    If deletion occurred:

    • Check the owner’s OneDrive recycle bin; shared content must be restored from the owning OneDrive.
    • For work or school accounts, deleted items are normally retained for 93 days unless the administrator changed the retention setting.^6^
    • If the owner’s user account was deleted, the OneDrive is retained for the configured period—30 days by default—and then remains in a deleted state for 93 days, during which only a SharePoint administrator can restore it.^7^

    If the audit search and reports cannot identify the site, the Microsoft 365 administrator should open a support request through the Microsoft 365 admin center and provide the original URL, approximate removal time, folder name, affected users, and relevant audit records.


    References

    1. Sorry, something went wrong Sorry, you cannot access this document. Please contact the person who shared it with you. Correlation ID: [Moderator note: Personally Identifiable Information removed] - Microsoft Q&A
    2. Use sharing auditing in the audit log
    3. Audit log activities
    4. OneDrive Usage report
    5. Step 5 - Give another employee access to OneDrive and Outlook data
    6. Restore files deleted from your OneDrive | Microsoft Support
    7. Restore a deleted OneDrive
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

    1 person found this answer helpful.

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.