Mobile Application Management (MAM): App Protection
Protect enterprise data on managed and unmanaged (BYOD) iOS and Android devices using Intune App Protection Policies (MAM-WE), encryption, and selective app wipe.
Overview
Mobile Application Management (MAM) via Microsoft Intune App Protection Policies (APP) safeguards corporate data at the application layer without requiring device enrollment (MAM without Enrollment / MAM-WE).
This is the cornerstone of modern BYOD (Bring Your Own Device) security:
- Application Sandbox Containerization: Corporate data stored in Microsoft 365 mobile apps (Outlook, Teams, OneDrive, Excel) is strictly isolated and encrypted at rest using an application-level key.
- Data Relocation Prevention (DLP): Restricts copy/paste, cut, and screen capture. Users can only share data between Policy-managed apps (e.g., copying text from corporate Outlook into corporate Word is allowed; pasting into WhatsApp, Gmail, or personal Notes is blocked).
- Access Requirements: Enforces an application-level corporate PIN or biometric authentication (Face ID / Fingerprint) before the user can view emails or chat messages.
- Selective App Wipe: Allows IT to remotely delete all corporate emails, chats, and cached files from an employee's personal device when they leave the organization, leaving their personal photos and messages untouched.
---
When to Use
| Enrollment State | Target Scenario | Recommended Security Baseline |
|---|---|---|
| MAM without Enrollment (BYOD) | Personal iPhones and Android phones | Strict App Protection: Block copy/paste to personal apps, require PIN, block jailbroken/rooted devices. |
| MAM with MDM Enrollment (Corporate) | Company-owned managed devices | Combined MDM device compliance + MAM app protection for defense-in-depth data leakage prevention. |
| Windows MAM (MAM for Windows) | Personal Windows 11 laptops accessing corporate Edge/M365 | Enforces protected sessions in Microsoft Edge; blocks copy to local Notepad or USB drive. |
---
Prerequisites
Tenant & Licensing Requirements:
- Intune License: Microsoft 365 E3/E5, Business Premium, or standalone Intune Plan 1.
- Microsoft Entra ID P1 / P2: To enforce Conditional Access requiring approved client apps or app protection policy.
- Admin Role: Application Manager or Intune Administrator.
Client Requirements:
- iOS/iPadOS: Requires iOS 16.0+ with Intune SDK integrated into targeted apps.
- Android: Requires Android 9.0+ and the Microsoft Intune Company Portal app installed on device (acts as the local broker, no sign-in or MDM enrollment required).
---
Portal Path
Microsoft Intune Admin Center (https://intune.microsoft.com)
└── Apps
├── App protection policies
│ └── Create policy > iOS/iPadOS or Android
│ ├── Data protection (Cut/Copy/Paste, Save copy, Encryption)
│ ├── Access requirements (PIN, Biometrics, Work credentials)
│ └── Conditional launch (Max PIN attempts, Jailbreak detection)
└── App selective wipe (Create wipe request by user or device)---
Step-by-Step Implementation
Step 1: Create an iOS/iPadOS App Protection Policy
- Navigate to Intune Admin Center > Apps > App protection policies > Create policy > iOS/iPadOS.
- Name:
MAM-iOS-CorporateData-Protection. - Under Apps, set Target to apps on all device types:
Yes(covers both unmanaged BYOD and MDM enrolled). - Select Public apps: Select
Microsoft Outlook,Microsoft Teams,OneDrive,Excel,Word,PowerPoint.
Step 2: Configure Data Protection Rules
- Under Data Transfer:
- Send org data to other apps:
Policy managed apps - Receive data from other apps:
All apps - Restrict cut, copy, and paste between other apps:
Policy managed apps with paste in(Allows pasting external data INTO corporate apps, but blocks corporate data FROM copying out). - Save copies of org data:
Block(with exceptions only forOneDrive for BusinessandSharePoint).
- Under Encryption:
- Encrypt org data:
Require.
Step 3: Configure Access Requirements & Conditional Launch
- Access requirements:
- PIN for access:
Require| PIN type:Numeric(Minimum6digits). - Simple PIN:
Block(e.g., 123456 or 111111). - Face ID / Touch ID instead of PIN:
Allow. - Timeout (recheck access requirements after):
30 minutes.
- Conditional launch:
- Max PIN attempts:
5> Action:Reset PIN. - Jailbroken/rooted devices: Action:
Block access. - Offline grace period:
72 hours> Action:Block access. - Offline wipe grace period:
90 days> Action:Wipe data.
- Assignments: Assign to group
All Licensed Users.
Step 4: Pair with Conditional Access (Enforcement)
- Open Microsoft Entra Admin Center > Protection > Conditional Access.
- Create policy: Target
Office 365cloud app > Device platforms:iOS, Android. - Under Grant: Select Require app protection policy (and Require approved client app).
---
PowerShell Automation
Check App Protection Policy Status via Microsoft Graph:
Connect-MgGraph -Scopes "DeviceManagementApps.Read.All"
# List active iOS and Android App Protection Policies
Get-MgDeviceAppManagementIosManagedAppProtection |
Select-Object displayName, allowedDataStorageLocations, allowedOutboundDataTransferDestinations, pinRequired
Get-MgDeviceAppManagementAndroidManagedAppProtection |
Select-Object displayName, allowedDataStorageLocations, isEncryptAppDataRequired, pinRequired---
Microsoft Graph Automation
Trigger an App Selective Wipe for a Specific User:
Connect-MgGraph -Scopes "DeviceManagementApps.ReadWrite.All"
# When an employee departs, wipe corporate data from personal mobile devices
$WipeParams = @{
userId = "john.doe@contoso.com"
}
New-MgDeviceAppManagementUserAppProtectionNotification -BodyParameter $WipeParams---
Verification Checklist
Diagnostic Logs & Channels
| Channel / Tool | Log Location | Purpose |
|---|---|---|
| Intune MAM Diagnostic Console | In Outlook / Edge: Navigate to edge://intunehelp or type about:intunehelp | Displays client-side MAM policy state, applied DLP rules, SDK version, and device ID. |
| Intune App Protection Status Report | Intune Admin Center > Apps > Monitor > App protection status | Shows user check-in timestamps, MAM enrollment status, and policy conflict flags. |
| Company Portal Broker Log (Android) | Company Portal > Settings > Send logs | Captures Android brokered authentication and token refresh diagnostics. |
---
Troubleshooting Matrix
| Error Code / Symptom | Root Cause | Exact Resolution |
|---|---|---|
| "Your organization has not given you access" | User is not targeted in the MAM policy assignment, or user lacks an Intune license. | Verify the user is a member of the assigned security group and has an active Intune license. |
| MAM policy not applying on Android | The Microsoft Intune Company Portal app is not installed on the Android phone. | Install Intune Company Portal from Google Play Store (app is required as MAM broker). |
| Copy/Paste allowed unexpectedly | The receiving app is also a policy-managed app under the same tenant container. | Data transfer between two policy-managed apps (e.g., Outlook to Teams) is allowed by design. |
| Selective Wipe does not clear data | Device is offline or in airplane mode. | The wipe command queues in Intune and executes immediately once device regains internet access. |
---
Production Best Practices
Use "Policy Managed Apps with Paste In":
When configuring data transfer, avoid setting Restrict cut, copy, paste to "Blocked". Set it to Policy managed apps with paste in. This allows users to paste personal notes, passwords, or external addresses INTO corporate email, while strictly preventing corporate data from leaking OUT.
Company Portal on Android is Mandatory:
On Android devices, the Intune Company Portal acts as the local encryption key vault and MAM policy broker. Educate BYOD users that while they do not need to log into the Company Portal, the app MUST remain installed.
---
MD-102 Exam Notes
High-Frequency Exam Objectives & Traps:
- MAM-WE Definition: App Protection Policies do NOT require MDM device enrollment; they manage the application sandbox directly.
- Android Broker Requirement: Android requires Intune Company Portal installed as broker. iOS uses the built-in Intune SDK and Microsoft Authenticator.
- Selective Wipe vs Full Wipe: Selective Wipe deletes only corporate data; it never wipes personal photos, personal email accounts, or system settings.
---