How to Reset a Forgotten OneDrive PIN on Android
Question details
The user needs to reset their OneDrive application PIN on an Android device after forgetting it.
- Product
- Microsoft OneDrive
- Device & OS
- Android
- Scenario
- Opening the OneDrive app on an Android phone or tablet and being unable to authenticate due to a forgotten PIN code.
- Observed behavior
- The user is locked out of the OneDrive app because they cannot enter the correct PIN to view or manage their files.
Ensure you have your Microsoft account email and password handy, as you will need to sign back into OneDrive after clearing the application data.
Clear OneDrive App Data and Cache
The most direct way to reset the PIN is by clearing the application's local storage data, which removes the PIN lock and prompts a fresh login.
Navigate to your Android device's main Settings menu and select "Applications" or "Apps".
Scroll down the list of installed applications, find "OneDrive", and tap on it to open the app info page.
Tap on "Storage", then select "Clear Data" and "Clear Cache" to remove local app settings and temporary files.
Reopen the OneDrive app, sign in using your Microsoft credentials, and create a new PIN when prompted.
Reinstall the OneDrive Application
If clearing the data does not resolve the issue, reinstalling the app from the Google Play Store will ensure a completely fresh start.
Try WPS Office for Seamless Cloud Integration
While fixing your OneDrive access, consider switching to WPS Office. It's a lightweight, free Microsoft Office alternative that perfectly supports Word, Excel, and PowerPoint formats while seamlessly connecting to cloud drives like Google Drive, Dropbox, and OneDrive.
- 1. Download the App: Install WPS Office for free from the Google Play Store.
- 2. Connect Your Cloud: Open WPS Office, navigate to the Cloud tab, and link your OneDrive or other cloud accounts.
- 3. Edit on the Go: Easily access, view, and edit your cloud documents directly from your Android device.

Frequently Asked Questions
Will clearing OneDrive data delete my files?
No, clearing the app data or cache on your Android device only removes local settings and temporary files, including the PIN lock. Your documents and photos remain safely stored in your Microsoft cloud account.
Can I recover my forgotten OneDrive PIN without clearing data?
No, for security reasons, OneDrive does not offer a direct PIN recovery or bypass option on Android. You must clear the app data or reinstall the application to reset the lock.
Why does OneDrive keep asking for a PIN?
The app requests a PIN if the app lock feature is enabled in its settings for added local security. If you find this inconvenient, you can disable the feature in the OneDrive settings menu after you successfully sign in.
Do I need an internet connection to reset my OneDrive PIN?
Yes, because clearing the app data will log you out entirely. You will need an active internet connection to authenticate your Microsoft account and sign back in to set a new PIN.




