You open a PDF in the OneDrive mobile app and see a blank screen or an error message instead of the document content. This happens because OneDrive for iOS and Android cannot decrypt the PDF file to generate a preview image. The app relies on a server-side rendering engine that does not accept or enter the file password. This article explains exactly why the preview fails and shows you the only workarounds that let you view password protected PDFs on your phone.
Key Takeaways: Password Protected PDFs in OneDrive Mobile
- OneDrive mobile app preview engine: Cannot decrypt password protected PDFs and returns a blank screen or error.
- Open in third-party app: Download the file and open it in Adobe Acrobat Reader or another PDF app that supports password entry.
- Remove protection before uploading: Use a desktop tool to remove the password from the PDF file before saving it to OneDrive.
Why OneDrive Mobile Cannot Preview Password Protected PDFs
OneDrive uses a server-side rendering system to generate preview thumbnails and in-app document views. When you tap a PDF in the mobile app, the server attempts to read the file and convert it to an image format for display. If the PDF is encrypted with a password, the server cannot decrypt it because it has no mechanism to prompt you for the password. The server sees the file as unreadable and returns a blank preview or an error message such as “We can’t preview this file” or “This file can’t be opened.”
This behavior is by design and affects all mobile platforms including iOS and Android. The desktop version of OneDrive does not have this limitation because it opens the PDF in the local default PDF viewer, which can prompt for the password. On mobile, the preview is generated remotely and no password dialog exists in the OneDrive app itself.
What Happens When You Tap the File
The OneDrive mobile app sends a request to the Microsoft 365 preview service. The service attempts to parse the PDF structure. If the PDF header indicates encryption, the service immediately stops processing and returns an error code. The app then shows a blank area or a message that the file cannot be previewed. You are not given any option to enter the password at this stage.
How to View Password Protected PDFs on OneDrive Mobile
Because the OneDrive app cannot preview these files directly, you must use one of the following methods to open the PDF on your phone. Each method requires the PDF to be downloaded to the device first.
Method 1: Open the PDF in a Third-Party PDF Reader
- Download the PDF file
In the OneDrive mobile app, tap the PDF file. Tap the download icon, usually a downward arrow, at the top or bottom of the screen. The file saves to your device storage. - Open the file from the Downloads folder
On iOS, open the Files app and navigate to the Downloads folder. On Android, open the Files by Google app or your manufacturer file manager and go to the Downloads folder. Tap the PDF file. - Choose a PDF app that supports passwords
Your device will show a list of apps that can open PDFs. Select Adobe Acrobat Reader, Foxit PDF Reader, or another app that supports password entry. The app will prompt you to enter the document password. After you enter the correct password, the PDF renders normally.
Method 2: Use the Open In Feature from OneDrive
- Locate the PDF file in OneDrive
Open the OneDrive mobile app and navigate to the folder containing the password protected PDF. - Tap the three-dot menu next to the file
Tap the More options icon, which looks like three horizontal dots or a circle with three dots. - Select Open In
From the menu, tap Open In. A list of compatible apps appears. Choose Adobe Acrobat Reader or another PDF reader that handles password protected files. The app opens the file and prompts for the password.
Method 3: Remove the Password Before Uploading
If you control the PDF and can edit it on a desktop computer, remove the password protection before uploading the file to OneDrive. This allows the mobile preview to work normally.
- Open the PDF in Adobe Acrobat Pro on Windows or Mac
Launch Adobe Acrobat Pro and open the password protected PDF. Enter the password when prompted. - Remove the password
Go to File > Properties. Click the Security tab. In the Security Method dropdown, select No Security. Click OK. You may need to enter the document password again to confirm. - Save the PDF
Save the file with a new name or overwrite the original. Upload the unprotected version to OneDrive. Now the mobile app can preview it without issues.
Common Issues When Working with Password Protected PDFs on Mobile
OneDrive Says File Cannot Be Previewed on iOS
This is the standard behavior for any encrypted PDF. The OneDrive app on iPhone and iPad does not display the password prompt. You must use Method 1 or 2 above. If you have Adobe Acrobat Reader installed, the Open In option is the fastest path.
OneDrive Says File Cannot Be Previewed on Android
The same limitation applies on Android devices. The preview engine cannot decrypt the file. Download the PDF and open it in a PDF reader that supports password entry. Google PDF Viewer does not support password protected files, so use Adobe Acrobat Reader or another third-party app.
The Open In Option Is Grayed Out
This happens when no compatible app is installed on your device. Install a PDF reader that supports password protected PDFs, such as Adobe Acrobat Reader. After installation, the Open In option becomes active.
Downloaded PDF Opens as a Blank Page
If you download the PDF and open it in a viewer that does not support passwords, you see a blank page. Use a PDF reader that prompts for the password. Adobe Acrobat Reader is the recommended choice because it handles encryption correctly.
OneDrive Mobile Preview vs Desktop Preview for Password Protected PDFs
| Item | OneDrive Mobile | OneDrive Desktop (Browser) |
|---|---|---|
| Preview method | Server-side rendering, no password dialog | Opens in browser PDF viewer or local app |
| Password prompt | Not available | Browser PDF viewer or local app prompts for password |
| Workaround needed | Yes, download and open in third-party app | No, works directly |
| File size limit for preview | 100 MB | 100 MB for browser preview, no limit for local app |
On a desktop browser, OneDrive opens the PDF using the browser native PDF viewer or the default PDF reader on your computer. That viewer can display the password prompt. On mobile, the preview is generated server-side and cannot accept a password, so the preview fails.
Conclusion
You now know that OneDrive mobile cannot preview password protected PDFs because the server-side rendering engine cannot decrypt the file. The only reliable workaround is to download the PDF and open it in a third-party PDF reader that supports password entry, such as Adobe Acrobat Reader. If you control the PDF, remove the password on a desktop before uploading to OneDrive to restore mobile preview functionality. For files you do not control, use the Open In feature from the OneDrive app to send the file directly to a compatible reader.