How to fix personal outlook access when device is managed by suremdm for office mail access

Manoj Deshwal 0 Reputation points
2026-05-29T13:16:31.94+00:00

we are using sure mdm for mail access on mobile devices. now the situation is when we enable active sync for mdm users ,after that he can login his mail on to personal outlook app as well,how we can restrict this. if that user is not mnaged with suremdm then his mail cannot be accessed on personal outlook app. this is only happening when we enable device and active sync for enrolling mdm on mobile. so please suggest any policy by whcih we can disable personal outlook access when device is managed by suremdm app for mail access.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. AI answer

    2026-05-29T13:17:04.9966667+00:00

    To prevent users from adding the same corporate mailbox to a personal Outlook app while still allowing access through a managed MDM profile, use server-side controls that distinguish allowed vs. blocked clients instead of relying only on generic ActiveSync enablement.

    From the provided context, the supported controls are:

    1. Use Exchange ActiveSync device access rules to allow only Outlook for iOS and Android (managed scenario) Configure Exchange (on-premises or Exchange Online) so that:
      • Default ActiveSync access is blocked.
      • Only Outlook for iOS and Android is allowed as a client.
      Example (Exchange Online / Exchange Server):
         Set-ActiveSyncOrganizationSettings -DefaultAccessLevel Block
         
         New-ActiveSyncDeviceAccessRule -Characteristic DeviceModel -QueryString "Outlook for iOS and Android" -AccessLevel Allow
      
      This blocks other Exchange ActiveSync native apps and only allows Outlook for iOS and Android as a client. Combined with MDM, this ensures that only the managed Outlook instance can connect.
    2. Block or allow specific mobile apps by device model/type/user agent If the goal is to block Outlook for iOS and Android in some scenarios (for example, unmanaged devices) while allowing other clients, use New-ActiveSyncDeviceAccessRule with the Outlook identifiers:
      • DeviceModel: "Outlook for iOS and Android"
      • DeviceType: "Outlook"
      • UserAgent: "Outlook-iOS-Android/1.0"
      Example to block Outlook for iOS and Android entirely:
         New-ActiveSyncDeviceAccessRule -Characteristic DeviceType -QueryString "Outlook" -AccessLevel Block
      
      or
         New-ActiveSyncDeviceAccessRule -Characteristic DeviceModel -QueryString "Outlook for iOS and Android" -AccessLevel Block
      
      These rules block Outlook for iOS and Android across iOS and Android platforms. In a mixed scenario, combine these rules with Conditional Access or other policies (not detailed in the context) to differentiate managed vs. unmanaged devices.
    3. Prefer device-type/model rules over device IDs The context explicitly warns that device IDs can change and cause unexpected blocking/unblocking. Therefore, use rules based on DeviceType or DeviceModel rather than per-device IDs when controlling mobile access.
    4. If using Exchange Online with OAuth-capable clients For more granular control of Outlook for iOS and Android and other OAuth-capable EAS clients, use Microsoft Entra Conditional Access policies targeting specific mobile platforms (iOS/Android) and choose whether to allow or block access. The context describes:
      • A policy that allows Outlook for iOS and Android on specific platforms and blocks other OAuth-capable EAS clients.
      • A policy that blocks Outlook for iOS and Android on specific platforms.
      These Conditional Access policies can be combined with MDM enrollment requirements (outside the provided context) so that only devices that meet management conditions can access Exchange.
    5. MDM interoperability limitation Outlook for iOS and Android only supports Microsoft Intune as an MDM profile provider. If the mail server requires a different MDM profile, Outlook cannot connect. This means that for strict separation of managed vs. personal Outlook, Microsoft Intune is the supported MDM path; third-party MDMs like SureMDM cannot integrate directly with Outlook’s MDM profile enforcement. If the server requires a non-Intune MDM profile, Outlook for iOS and Android will not connect at all.

    In summary, to stop personal Outlook access while allowing managed access:

    • Enforce ActiveSync organization settings with default block.
    • Allow only Outlook for iOS and Android (or specific device types/models) via New-ActiveSyncDeviceAccessRule.
    • Use Conditional Access (where available) to require device management for Exchange access.
    • Be aware that Outlook for iOS and Android only supports Microsoft Intune as an MDM profile; third-party MDM cannot be used as an Outlook MDM profile control.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.