Intune MAM for Microsoft apps on iOS and iPadOS
How to create an App Protection Policy in Intune for Outlook, Teams and OneDrive on personal iPhones and iPads, without managing the device.
- Topic: Intune
- Platform: iOS/iPadOS
11 min readNew

An employee opens a link from a text message on their iPhone, or connects to an open Wi-Fi network on the train. That device has access to business mail and files, but without extra protection you as an administrator do not know whether it is at risk.
Microsoft Defender for Endpoint is Microsoft’s Mobile Threat Defense (MTD) solution for iOS and Android, and it works together with Microsoft Intune. In this blog post you read how to onboard iOS devices into Defender for Endpoint with as little manual work by the user as possible, both supervised and unsupervised with Device Enrollment, and how to use a device’s risk level in compliance and App Protection Policies.
Defender for Endpoint on iOS and Android protects mobile devices with, among other things:
On an unsupervised device, Web Protection uses a local VPN. It does not send traffic outside the device. On a supervised device, a Control Filter profile can take over that role, so no VPN is needed.
💡 Note: zero-touch onboarding does not work on devices that are enrolled without user affinity, such as shared devices, nor with Apple User Enrollment.
You set up the connection between the two services once per tenant. See Configure Microsoft Defender for Endpoint with Intune.
Skip this step if you already deploy the app as a volume-purchased app (VPP).
With zero-touch onboarding, Intune puts a VPN profile on the device that makes Defender for Endpoint activate in the background. For supervised devices, use the next section.
127.0.0.1com.microsoft.scmxSilentOnboard with the value True. If users may turn the VPN on and off in the app, also add EnableVPNToggleInApp with True.The screenshot below is an example configuration. It contains settings that the steps above do not recommend, such as the extra key SingleSignOn and Block users from disabling automatic VPN set to Not configured. The on-demand rule is still called Connect VPN in it; Microsoft now calls that action Establish VPN.
As soon as the device has the profile, Defender for Endpoint is activated in the background. Microsoft mentions up to five minutes for that step.
On a supervised device, a Control Filter profile provides Web Protection without a local VPN. For that you need two parts: an app configuration policy and a custom profile.
issupervised{{issupervised}}.mobileconfig file.💡 Note: the Control Filter profile does not work together with Always-On VPN. In addition, iOS allows only one device-wide VPN to be active at a time. So if your organization uses Always-On VPN, you have to choose.
With an app configuration policy for managed devices, you control the settings of Defender for Endpoint. Use the same steps as above (Apps > Configuration > Create > Managed devices, app Microsoft Defender: Security) and add the keys you need. A few examples from the documentation of the iOS features:
| Key | Type | What it does |
|---|---|---|
WebProtection |
String | false turns Web Protection off; it is on by default |
DefenderNetworkProtectionEnable |
String | false turns Network Protection off; it is on by default |
DefenderOpenNetworkDetection |
Integer | Detection of open Wi-Fi: 0 off, 1 audit, 2 on (default) |
DefenderDeviceTag |
String | Sets a device tag that appears in the Defender portal. From Intune only one tag works, the user has to open the app, and it can take up to 18 hours before the tag is visible |
DefenderFeedbackData |
Boolean | false removes the option to send feedback to Microsoft from the app |
The screenshot below is an example configuration with more keys and other values than the table recommends. For example, DefenderOpenNetworkDetection is set to 1 (audit), and SuppressOSUpdateNotification has had no effect since the end of July 2026, because Defender no longer sends those notifications.
So do not copy the screenshot one to one: DefenderExcludeURLInReport, for example, is set as String there, while Microsoft prescribes Boolean.
On supervised devices with the Control Filter, WebProtection has no effect. There you turn Web Protection off by removing the Control Filter profile.
With a compliance policy you mark a device with too much risk as noncompliant. Access is only blocked when a Conditional Access policy requires a compliant device. Microsoft recommends putting such a policy in Report-only first and reviewing the results before you turn it on. How to set up that policy is described in Stronger security with Conditional Access: require MDM and compliance.
Under Device Health there is also Require the device to be at or under the Device Threat Level. That setting uses the verdict of a connected Mobile Threat Defense service. Microsoft’s Intune guide for Defender for Endpoint uses the machine risk score setting; this blog post follows that guide.
An App Protection Policy works on devices that are and are not enrolled in Intune. So you can use the risk from Defender for Endpoint for devices that are not enrolled in Intune as well. Such devices get Defender through a separate procedure, Defender for Endpoint on iOS with MAM; the steps for zero-touch, the VPN profile and the Control Filter do not apply there. The user registers the device in Microsoft Authenticator with the same work or school account as in the Defender app, and installs Defender from the App Store themselves when a protected app asks for it.
On an unsupervised device with zero-touch, Intune installs the app and the VPN profile, and the user gets a notification from Microsoft Defender. According to Microsoft, the user sometimes still has to sign in to the app, for example after a password change or an MFA prompt. Afterwards, Settings > General > VPN shows a VPN named Microsoft Defender for Endpoint.
On a supervised device with the Zero touch Control Filter, no VPN profile is put on the device. Privacy settings in the app are not visible to the user there; you set them as the administrator.
Network Protection only starts after the user has opened the Defender app once, also with zero-touch.
To check whether Web Protection works, open https://smartscreentestratings2.net on an onboarded device. Microsoft uses that test page to show that a phishing site is blocked. Explain to users what a notification from Defender means, so that they do not dismiss it.
📚 Further reading: Deploy Microsoft Defender for Endpoint on iOS with Microsoft Intune.
With the connection between Intune and Defender for Endpoint and a VPN or Control Filter profile, you onboard iOS devices largely without manual work by the user; sometimes the user still has to sign in to the app, and for Network Protection the app must have been opened once. A compliance policy on the machine risk score marks devices with too much risk, and a Conditional Access policy that requires a compliant device then blocks access. Choose the right method per type of device: zero-touch with VPN for unsupervised devices with Device Enrollment, the Control Filter for supervised ones. Shared devices and Apple User Enrollment fall outside zero-touch.