Short answer: if Outlook or OneDrive on your phone says “The file could not be shared due to account policy”, or saved photos open as garbled squares in your gallery, a Microsoft Intune app protection policy is doing its job. It stops work files leaving the work apps, and it encrypts files that are saved to the phone so only work apps can open them. Open the file in a work app instead, or ask your IT team to adjust the policy to allow what your business actually needs.
A manufacturing business asked us why staff could not download or save files from OneDrive or Outlook to their phones. Their Microsoft 365 setup had app protection policies on both iPhone and Android that blocked saving work files to the phone. We relaxed those settings at the customer’s request, and PDFs then saved normally. But one Samsung phone kept saving photos from email as garbled black and white squares. Those photos were being saved still encrypted by Intune, which the phone’s gallery cannot read. Here is what we found and how to fix both problems.
Fixed by Ryan Colombo, Elliot Munro and Kenn Cruz at GCIT. Written up by Elliot Munro, CISO.
Symptoms
On an iPhone or iPad, when you try to save, share or open an attachment from Outlook into another app, you see:
Unable to Share File
The file could not be shared due to account policy. Please contact your IT administrator with any questions.

On Android, the signs are often less obvious:
- Save or Download is greyed out or does nothing in Outlook, OneDrive or Teams.
- The file saves, but JPG photos show as a garbled black and white pattern in the Gallery or Photos app. The same photo opens fine inside Outlook. PDFs opened in Adobe Acrobat or Edge may look fine.
- Company Portal shows “Your device does not meet [your organisation]’s requirements to enroll and may not be able to gain access to some of [your organisation]’s resources”, with Device Settings Status: Unknown.

People also search for this as “Outlook iOS can’t save attachment”, “OneDrive can’t download to phone”, “Intune encrypted file gallery” or “attachment corrupted on Android”.
Affected Software
- Apps: Outlook, OneDrive, Teams, Word, Excel and other apps protected by Intune
- Platform: iPhone, iPad and Android phones and tablets, including personal phones that are not enrolled in Intune
- Related services: Microsoft Intune app protection policies (also called MAM), Intune Company Portal
Cause
App protection policies let a business protect work data on phones without taking over the whole device. They apply to the work apps and the work account only. Three settings cause almost all of these problems:
- Send org data to other apps set to Policy managed apps or None. Work files can only go to other protected apps. Sharing to anything else gives the “account policy” message on iPhone.
- Save copies of org data set to Block. The Save As option is blocked unless the destination is listed in Allow user to save copies to selected services (for example OneDrive, SharePoint, Photo Library or Local Storage).
- Encrypt org data set to Require on Android. Microsoft’s documentation says content on the device storage “is always encrypted and can only be opened by apps that support Intune’s app protection policies”. So when a photo is saved to the phone, the Gallery app, which is not a protected app, opens the encrypted file and shows garbage.
In our customer’s case, the first two settings explained why nobody could save files. On the one Samsung phone, the encryption setting was the cause of the garbled photos. Telling Intune to rely on the phone’s own encryption was not enough on that phone, so we turned Intune’s own encryption off for Android. The phone’s built-in encryption still protects the files. Cached files that were saved while the old setting was on stayed encrypted until the apps’ data was cleared. The same policy also required a compliant device. A phone that is not enrolled in Intune cannot report compliance, which is what caused the Company Portal warning.
Resolution
For staff: work within the policy
- Open the attachment inside Outlook, or with another work app such as Word, Excel, Edge or Adobe Acrobat signed in with your work account.
- To keep a copy, save it to your work OneDrive or SharePoint instead of the phone.
- If you genuinely need to save work files to the phone for your job, ask your IT team. Do not forward work files to a personal email address to get around it.
For administrators: review the app protection policy
- In the Microsoft Intune admin center, go to Apps > App protection policies and open the iOS/iPadOS and Android policies that apply to the user.
- Under Data protection, decide what you want to allow:
- To allow saving to the phone, set Save copies of org data to Allow, or keep it on Block and add Local Storage and Photo Library to Allow user to save copies to selected services.
- To allow sharing to any app, set Send org data to other apps to All apps. This is the biggest relaxation, so only do it if the business accepts that risk.
- For garbled photos on Android, review Encrypt org data and Encrypt org data on enrolled devices. Modern Android phones encrypt their storage by default, so some businesses choose to rely on that once they have allowed saving to the phone.
- If staff use personal phones that are not enrolled in Intune, check that the policy does not require a compliant device. Use the policy’s Conditional launch settings (minimum OS version, jailbreak and root detection) instead.
- Test changes on one user first. Ryan’s first test on an iPhone was simply excluding a single user from the policy for a few hours.
On the phone: pick up the new policy
- Sign out of Company Portal (Android), Outlook and OneDrive, wait about five minutes, then sign back in.
- On Android, if photos still save garbled, go to Settings > Apps and use Clear data and Clear cache for Company Portal, Outlook and OneDrive, then sign in again. This removes files that were cached under the old setting.
- Allow 15 to 30 minutes for the apps to sync the new policy, then download the attachment again. Files saved before the change stay encrypted, so delete them and save fresh copies.
Important Notes
- Every relaxation is a trade-off. Once saving to the phone is allowed, work files can end up in personal cloud backups and personal apps. Remind staff of your data handling rules after the change.
- This is not the same as a DLP block. Microsoft Purview data loss prevention policies block files based on what is in them, such as bank or tax file numbers. If only some files are blocked, look at DLP. If every file is blocked, look at app protection.
- Policies apply per account, not per phone. A shared mailbox opened in the same app can behave differently from the user’s own mailbox, depending on which policy applies.
Related Resources
- Microsoft Learn: Android app protection policy settings
- Microsoft Learn: iOS/iPadOS app protection policy settings
- Microsoft Learn: App protection policies overview
- Fix: “Approval Required” for Apple Internet Accounts on iPhone
- Set up Office 365 email on iPhone using Outlook for iOS
- Got a New Phone? How to Move Microsoft Authenticator
- GCIT Conditional Access and Zero Trust for Microsoft 365
- Fix: AirDrop Not Working on Intune-Managed Macs
If you want work data protected on staff phones without stopping people from doing their jobs, book a free consultation with our team.
Need help managing this for your business? Explore our Microsoft Intune support.