Fix OneDrive iPhone Sign-In Error When Saving Email Attachments
Question details
Resolve the OneDrive iPhone sign-in prompt that appears when saving email attachments even though an account is already signed in.

- Product
- Microsoft OneDrive iOS app
- Device & OS
- iOS
- Scenario
- A user is saving an email attachment to OneDrive from another iPhone app while already signed in.
- Observed behavior
- OneDrive displays "Please sign in with at least one account in the OneDrive app" and blocks the save, even though the account is signed in.
Before resetting OneDrive, back up any unsynchronized files that have not fully uploaded, and confirm that your iPhone has a stable network connection.
Clear OneDrive Account Settings and Sign In Again
Use this first when OneDrive asks for sign-in even though an account is already signed in; it clears the stale account state without deleting cloud files.
The error is often caused by a cached account token or app state. Clearing account settings signs you out locally and forces OneDrive to rebuild the account session.
Open OneDrive and check for files that have not finished uploading. Back them up to iPhone Files, Photos, or another location before you clear account settings.
Open the iPhone Settings app, scroll down, and tap OneDrive.
Tap Clear Account Settings or Reset OneDrive, then confirm. This removes the locally stored account session.
Close OneDrive from the app switcher, reopen OneDrive, and sign in with your Microsoft account.
Open the email attachment, tap the share icon, choose OneDrive, and check whether the sign-in error is gone.
Reinstall OneDrive and Test Direct Upload
Use this if clearing account settings does not resolve the error or if the sign-in prompt returns after a short time.
Update iOS and OneDrive, Then Report Remaining Errors
Use this when the issue persists after resetting and reinstalling, or when it affects multiple documents and apps.
Avoid OneDrive iPhone Sign-In Loops with WPS Office
If the OneDrive iPhone sign-in error repeatedly blocks saving email attachments, WPS Office is a free, lightweight Office alternative that opens and saves .docx, .xlsx, and .pptx files with a familiar interface and straightforward cloud options.
- 1. Download WPS Office: Download WPS Office from the iOS App Store or the official WPS website.
- 2. Open the email attachment: In your Mail app, open the attachment and choose WPS Office from the share sheet.
- 3. Save or export the file: Use WPS Office to save the file locally or to your preferred cloud storage without the OneDrive sign-in prompt.

Frequently Asked Questions
Why does OneDrive on my iPhone say "Please sign in with at least one account" even though I am signed in?
It is usually a stale local account session or cached token. Open Settings > OneDrive > Clear Account Settings, close OneDrive, reopen it, and sign in again. Back up unsynchronized files first.
Will clearing OneDrive account settings or deleting the app delete my files?
No, cloud files remain in your OneDrive account. Clearing account settings or deleting the app removes the local session and cache, so back up any files that have not yet uploaded.
How do I reset OneDrive on an iPhone without losing unsynchronized files?
First open OneDrive and back up any files that are still uploading or saved only on the device. Then go to Settings > OneDrive > Clear Account Settings, close OneDrive, reopen it, and sign in.
What should I do if the sign-in error returns after resetting and reinstalling OneDrive?
Update iOS in Settings > General > Software Update, update OneDrive in the App Store, test a different attachment or app, and note your iOS and OneDrive versions before contacting Microsoft Support.
Can I save iPhone email attachments without OneDrive?
Yes. WPS Office for iOS can open and save email attachments and supports .docx, .xlsx, and .pptx formats, so you can use it as a free alternative when OneDrive sign-in continues to fail.




