App Protection (MAM) Policies for iOS and Android
App protection policies (APP, often called MAM) protect work data inside apps such as Outlook, Teams, OneDrive and Edge, whether or not the device is enrolled in Intune. They target the user, apply only in the work context, and leave personal data alone (App protection policies overview (opens in a new tab)). That makes them the usual answer for personal (BYOD) phones you don't want to enroll.
Use it when: staff read email and files on their own phones, you've blocked personal devices from enrolling, or you want copy/paste and "save as" controls on mobile. For enrolled corporate devices, pair it with compliance and Conditional Access.
Before you start
- User licenses: each user needs a Microsoft Entra account and an assigned Intune license, must be in a security group targeted by the policy, and must sign in to the app with their work account. Outlook mobile also needs an Exchange Online mailbox and license; Office mobile apps need a Microsoft 365 Apps for business or enterprise license (User requirements (opens in a new tab)).
- Conditional Access: Microsoft recommends pairing app protection with Conditional Access so the policy is actually enforced (Create and deploy app protection policies (opens in a new tab)). Creating the policy needs at least Conditional Access Administrator (Require approved app or app protection policy (opens in a new tab)), and Conditional Access needs Microsoft Entra ID P1 (Authentication strengths prerequisites (opens in a new tab)).
- Broker apps on the device: the Require app protection policy grant needs the device registered in Microsoft Entra ID through a broker app: Microsoft Authenticator on iOS, Company Portal on Android. Users without one are sent to the app store (Require app protection policy (opens in a new tab)). Company Portal is required on Android to receive app protection policies at all, even without enrollment (Overview (opens in a new tab)).
- Android registration: MAM for Microsoft 365 apps on Android requires the device to be registered in Microsoft Entra ID; users may be prompted to register the first time (App protection policies for Microsoft 365 apps (opens in a new tab)).
Pick a level
Microsoft's data protection framework has three levels, each building on the last (Data protection framework (opens in a new tab)):
| Level | What it adds | Example settings from the framework |
|---|---|---|
| 1 Enterprise basic | PIN, encryption, selective wipe; Android device attestation | PIN for access: Require; Encrypt org data: Require; Offline grace period: 90 days / Wipe data |
| 2 Enterprise enhanced (most users) | Data leakage controls and minimum OS | Send org data to other apps: Policy managed apps; Save copies of org data: Block; Cut, copy and paste: Policy managed apps with paste in; Offline grace period: 30 days / Wipe data; Min OS version / Block access |
| 3 Enterprise high | Advanced data protection, stronger PIN, Mobile Threat Defense | Jailbroken/rooted devices: Wipe data |
Target the Core Microsoft Apps group (Edge, Excel, Office, OneDrive, OneNote, Outlook, PowerPoint, SharePoint, Teams, To Do, Word) and add other SDK-enabled apps as needed (Apps to include (opens in a new tab)).
Step by step
- Create the policy. In the Intune admin center go to Apps > Protection > Create policy and pick iOS/iPadOS or Android (Create an iOS/iPadOS or Android policy (opens in a new tab)).
- Apps: set Target policy to Core Microsoft Apps, Microsoft Apps, All Apps or Selected apps. You can't add custom (line-of-business) apps in the same policy as the predefined groups.
- Data protection, Access requirements, Conditional launch: configure these pages to match your level (table above, full lists in the iOS (opens in a new tab) and Android (opens in a new tab) settings references).
- Optional: separate managed and unmanaged devices. App protection targets the user, so it applies to enrolled and unenrolled devices alike. Use assignment filters on the Assignments page (Edit filter) if you want one policy for unmanaged devices and another for Intune-managed ones (Target by device management state (opens in a new tab)).
- Assign to a pilot group, then Review + create. Apply app protection policies before you turn on Conditional Access that requires them (Create and deploy (opens in a new tab)). Microsoft recommends a ring rollout: preproduction, then a production preview group, then everyone (Deployment methodology (opens in a new tab)).
- Enforce with Conditional Access (report-only first). In the Microsoft Entra admin center, Entra ID > Conditional Access > Create new policy: include All users and exclude break-glass accounts; target All resources; Conditions > Device platforms: Android and iOS; Grant: Require approved client app and Require app protection policy with Require one of the selected controls; set Report-only (Require approved client apps or app protection policy (opens in a new tab)). Microsoft also recommends a policy that blocks unknown or unsupported device platforms alongside it.
Report-first PowerShell
Read-only inventory of iOS and Android app protection policies. Graph scope: DeviceManagementApps.Read.All (List iosManagedAppProtections (opens in a new tab), List androidManagedAppProtections (opens in a new tab)). Requires an active Intune license for the tenant.
Connect-MgGraph -Scopes "DeviceManagementApps.Read.All"
$base = "https://graph.microsoft.com/v1.0/deviceAppManagement"
foreach ($p in "iosManagedAppProtections","androidManagedAppProtections") {
(Invoke-MgGraphRequest -Method GET -Uri "$base/$p").value | ForEach-Object {
[pscustomobject]@{
Platform = $p
Name = $_.displayName
Assigned = $_.isAssigned
PinRequired = $_.pinRequired
SaveAsBlocked = $_.saveAsBlocked
BackupBlocked = $_.dataBackupBlocked
OutboundSharing = $_.allowedOutboundDataTransferDestinations
MinOS = $_.minimumRequiredOsVersion
LastModified = $_.lastModifiedDateTime
}
}
} | Format-Table -AutoSize
Look for unassigned policies, policies where pinRequired is false, or allowedOutboundDataTransferDestinations set to all apps for groups that should be at Level 2.
Gotchas
- Report-only shows "Failure". In report-only, the sign-in log can show "Report-only: Failure" for the Require app protection policy control even when everything is fine, because the control can't be satisfied in report-only. Once the policy is on, the sign-in isn't blocked (Require approved app or app protection policy (opens in a new tab)).
- Not every app supports the grant. Kaizala, Skype for Business and Visio don't support Require app protection policy; the "or" between the two grants doesn't help them (Require app protection policy (opens in a new tab)). On Windows, app protection is in preview and only for Microsoft Edge and the Windows App desktop client (Require approved app or app protection policy (opens in a new tab)).
- Delivery isn't instant. A registered user's policy typically refreshes about every 30 minutes; unlicensed or untargeted users retry every 12 hours (24 hours for a tenant not set up for Intune), and retries usually need the app to be open (Policy delivery timing (opens in a new tab)). Test with patience.
- iOS managed devices need app config. For the device management type to apply to Intune-managed iOS devices, deploy app configuration with
IntuneMAMUPN,IntuneMAMOID(andIntuneMAMDeviceIDfor third-party and LOB apps); otherwise the policy may not be delivered or the wrong one is applied (Device management types (opens in a new tab)). - Personal context is untouched, and a new file a user creates counts as personal (Create and deploy (opens in a new tab)).
- Shared iOS PIN. On iOS the app PIN is stored in a keychain shared by apps from the same publisher, so Outlook and OneDrive share it (Overview (opens in a new tab)).
Check it worked
- Apps > Monitor > App protection status lists the user, app, management type, policy name and last sync (Monitor app protection policies (opens in a new tab)).
- On the device, open Microsoft Edge and go to
about:Intunehelpto see the policy settings each app received (Data protection framework (opens in a new tab)). - In the sign-in logs, check the Conditional Access result for an iOS or Android sign-in from a pilot user (see Investigate a sign-in).
Lost phone or leaver: selective wipe
Apps > App selective wipe > Create wipe request, pick the user and device. Only company data in protected apps is removed, the user must open the app, and it can take up to 30 minutes. User-Level Wipe sends the wipe to every app on all of the user's devices at each check-in until you remove them from the list (Wipe only corporate data from apps (opens in a new tab)).
Roll back
Set the Conditional Access policy back to Report-only or Off first, then remove groups from the app protection policy's Assignments or edit settings under Properties (Change existing policies (opens in a new tab)).
Related on EntraReady: Intune enrollment restrictions, Require compliant devices, Conditional Access baseline, Block legacy authentication.
← All GuidesIs this still accurate?
Spotted something outdated or wrong on this page? Tell us in a sentence. The page address is sent with it.