How to Delete Photos from Samsung Phone Without Removing from OneDrive
Question details
The user needs to free up local storage space by deleting photos on a Samsung device while keeping the cloud backup copies intact on Microsoft OneDrive.

- Product
- Microsoft OneDrive and Samsung Gallery
- Device & OS
- Android (Samsung)
- Scenario
- Freeing up internal phone storage space when Samsung Gallery and Microsoft OneDrive have two-way account synchronization enabled.
- Observed behavior
- When deleting a photo from the local Samsung Gallery, the linked Microsoft account automatically deletes the synchronized copy from OneDrive cloud storage as well.
Ensure you have a stable internet connection and verify via a web browser that your important photos are fully backed up to the OneDrive cloud before proceeding with account unlinking.
Unlink Samsung and Microsoft Accounts to Stop Two-Way Sync
By disconnecting the Samsung and Microsoft accounts, you stop the two-way sync that deletes cloud files. You can then use OneDrive's native Camera Upload feature to back up photos independently.
Samsung devices often link directly with Microsoft accounts to provide seamless gallery integration. While convenient, this creates a strict two-way synchronization where actions on your phone are mirrored in the cloud.
To retain photos in OneDrive while deleting them locally, you must break this link and reset the OneDrive app to use standard one-way camera uploads.
On your phone, navigate to Settings > Accounts and backup > Accounts > Samsung account > My profile > Linked accounts. Tap the ellipsis (three dots) next to Microsoft and select Unlink.
Go to Settings > Apps > OneDrive > Storage on your Samsung device. Tap 'Clear data' to reset the application's local sync configurations.
Open the OneDrive app again and sign in if necessary. When prompted, enable the 'Camera Upload' feature. This ensures future photos are backed up to the cloud without mirroring local deletions.
Once you have verified that your photos are safely stored in your OneDrive account (preferably by checking on a computer or web browser), you can safely delete the local copies from your Samsung Gallery app.

Manage Documents Seamlessly with WPS Office
If complex account synchronizations and heavy applications are slowing you down, consider using WPS Office for your mobile productivity. It is a lightweight, independent suite that offers powerful cloud backup for your documents without the strict two-way sync complications.
- 1. Download the app: Search for WPS Office in the Google Play Store and install the free application.
- 2. Sign in to WPS Cloud: Create an account or log in to activate your independent cloud storage for safe document backup.
- 3. Edit your files anywhere: Open, edit, and save your existing Microsoft Office format documents with complete formatting retention.

Frequently Asked Questions
Why does deleting a photo from my Samsung Gallery remove it from OneDrive?
When you link your Samsung account with your Microsoft account, it enables two-way synchronization. This means any changes made in your local Gallery, including deletions, are automatically applied to your OneDrive cloud storage.
Will clearing OneDrive app data delete my existing cloud files?
No. Clearing the app data only resets the application settings and temporary files on your local device. Your photos and documents securely stored on Microsoft's cloud servers remain completely unaffected.
Can I re-link my Samsung and Microsoft accounts later?
Yes, you can reconnect the accounts at any time through your Samsung account settings. However, doing so will re-enable the two-way synchronization, meaning local deletions will once again delete the cloud copies.




