[
    {
        "role": "user",
        "content": "Is%20there%20any%20way%20to%20retrieve%20files%20that%20have%20been%20recently%20deleted%20in%20onedrive"
    },
    {
        "role": "assistant",
        "content": "<p>Yes \u2014 there <em>are</em> ways to retrieve files recently deleted from OneDrive, depending on the type of account (personal vs work/school) and how long ago the deletion occurred. Here\u2019s an overview of what options are available, the retention periods, and what to try depending on your situation:</p>\n<hr />\n<h2>\ud83d\udd0d Basic Recovery Options</h2>\n<ol>\n<li>\n<p><strong>OneDrive Recycle Bin (Web Interface)</strong></p>\n<ul>\n<li>Go to OneDrive via browser (onedrive.com), sign in with the account the files were deleted from.  </li>\n<li>Click <strong>Recycle Bin</strong> in the left sidebar.  </li>\n<li>Select the file(s) or folder(s) you want to recover, then click <strong>Restore</strong>.  </li>\n<li>Works for both personal and business/school accounts. (<a href=\"https://support.microsoft.com/en-us/office/restore-deleted-files-or-folders-in-onedrive-949ada80-0026-4db3-a953-c99083e6a84f?utm_source=openai\">support.microsoft.com</a>)</li>\n</ul>\n</li>\n<li>\n<p><strong>Computer\u2019s Recycle Bin or Trash</strong></p>\n<ul>\n<li>If the file was synced locally (Windows or macOS), check your system\u2019s Recycle Bin (Windows) or Trash (Mac).  </li>\n<li>If the file was online-only, it likely won\u2019t appear locally. (<a href=\"https://support.microsoft.com/en-us/office/restore-deleted-files-or-folders-in-onedrive-949ada80-0026-4db3-a953-c99083e6a84f?utm_source=openai\">support.microsoft.com</a>)</li>\n</ul>\n</li>\n<li>\n<p><strong>\u201cRestore your OneDrive\u201d (Microsoft 365 Subscribers Only)</strong></p>\n<ul>\n<li>If you're a Microsoft 365 subscriber, OneDrive includes a feature to restore your entire OneDrive to a previous date/time within the last 30 days.  </li>\n<li>Access this from OneDrive settings \u2192 <strong>Options</strong> \u2192 <strong>Restore your OneDrive</strong>.  </li>\n<li>Useful for large-scale accidental deletes, corruption, or ransomware. (<a href=\"https://support.microsoft.com/en-us/office/restore-your-onedrive-fa231298-759d-41cf-bcd0-25ac53eb8a15?utm_source=openai\">support.microsoft.com</a>)</li>\n</ul>\n</li>\n</ol>\n<hr />\n<h2>\u23f3 Time Limits &amp; Retention Periods</h2>\n<p>The ability to recover depends heavily on how long it has been since the deletion:</p>\n<ul>\n<li>\n<p><strong>Personal Microsoft Accounts</strong></p>\n<ul>\n<li>Deleted files stay in the OneDrive recycle bin for <strong>up to 30 days</strong>, after which they\u2019re permanently deleted. (<a href=\"https://support.microsoft.com/en-us/office/restore-deleted-files-or-folders-in-onedrive-949ada80-0026-4db3-a953-c99083e6a84f?utm_source=openai\">support.microsoft.com</a>)</li>\n</ul>\n</li>\n<li>\n<p><strong>Work or School / OneDrive for Business Accounts</strong></p>\n<ul>\n<li>Files removed go first to the user\u2019s Recycle Bin, where you can restore them.  </li>\n<li>If emptied from there, they move to a second \u201cstage\u201d Recycle Bin (site collection or admin-controlled), where admins can still restore them.  </li>\n<li>The total native retention period is usually <strong>93 days</strong>. After that, recovery via standard Microsoft tools is not possible. (<a href=\"https://support.microsoft.com/en-us/office/restore-deleted-files-or-folders-in-onedrive-949ada80-0026-4db3-a953-c99083e6a84f?utm_source=openai\">support.microsoft.com</a>)</li>\n</ul>\n</li>\n</ul>\n<hr />\n<h2>\u26a0 What You <em>Can\u2019t</em> Recover</h2>\n<ul>\n<li>If the file has been <strong>permanently deleted</strong> (either emptied from all recycle bins or beyond the retention period), it\u2019s no longer recoverable through OneDrive\u2019s usual recovery tools. Microsoft states that such permanently deleted files <em>can never be recovered</em> natively. (<a href=\"https://support.microsoft.com/en-us/office/restore-your-onedrive-fa231298-759d-41cf-bcd0-25ac53eb8a15?utm_source=openai\">support.microsoft.com</a>)</li>\n</ul>\n<hr />\n<h2>\ud83d\udee1 Additional Measures (for Business / Admins)</h2>\n<ul>\n<li>\n<p><strong>Retention Policies &amp; Preservation Holds</strong><br />\nAdmins can set policies so that even if users delete files (or the files are removed from recycle bins), they\u2019re held in a \u201cpreservation library\u201d for compliance. This helps prevent accidental or malicious deletions from being lost forever. (<a href=\"https://www.syscloud.com/saas-data-protection-center/microsoft-365/onedrive-retention/?utm_source=openai\">syscloud.com</a>)</p>\n</li>\n<li>\n<p><strong>Contact Microsoft Support</strong><br />\nIn rare cases (especially in business settings), Microsoft may be able to assist in recovering files even after \u201cpermanent\u201d deletion \u2014 but usually only if asked very soon after deletion and there is no retention policy preventing delete. Success isn\u2019t guaranteed. (<a href=\"https://www.syscloud.com/saas-data-protection-center/microsoft-365/onedrive-retention/?utm_source=openai\">syscloud.com</a>)</p>\n</li>\n</ul>\n<hr />\n<p>If you tell me whether your account is <em>personal</em> or <em>work/school</em>, and roughly when the files were deleted, I can give you more specific steps tailored to your scenario.</p>"
    }
]