If the deleted folder on the memory card was synced with a Microsoft cloud service (like OneDrive) or contained files from Microsoft apps, recovery options depend on where the files were stored and backed up.
- If the folder was in OneDrive (synced to the memory card)
- Sign in to the OneDrive website.
- In the left navigation pane, select Recycle bin.
- Select the deleted files or folders and choose Restore.
- If many items were deleted, and a Microsoft 365 subscription is in use, it may be possible to restore your entire OneDrive to a point before the deletion.
- If the folder was only on the memory card (no OneDrive/SharePoint/Outlook backup)
- The provided documentation does not describe a Microsoft method to recover files deleted directly from removable media (like SD cards or USB drives) when they are not in OneDrive or another Microsoft service.
- In that case, there is no supported recovery path in this context beyond checking any cloud backup (OneDrive, SharePoint, Outlook attachments, etc.) where copies of those files might exist.
- If the files were in a SharePoint/OneDrive for work or school library
- If the memory card was used only as a sync location for SharePoint/OneDrive for work or school, recovery should be done from the service, not the card:
- Go to the SharePoint/OneDrive site.
- Open the Recycle Bin for that site or library and restore the deleted items if still within the retention period.
- If the memory card was used only as a sync location for SharePoint/OneDrive for work or school, recovery should be done from the service, not the card:
If the deleted folder is not present in any OneDrive/SharePoint recycle bin and was never synced or backed up to Microsoft cloud services, recovery is not covered by the referenced Microsoft guidance.
References: