Able to access corporate mail attachment in unmanaged apps even after the restriction profile (“allowOpenFromManagedToUnmanaged”) has been installed in the device.
Followed the following steps able to reproduce this issue
- Logged in with a personal mail account in iOS device in Mail app.
- Pushed an MDM profile with Email configuration to an iOS device. Now this account is in managed space
- Pushed a Restriction profile which has the key “allowOpenFromManagedToUnmanaged” to “false”. This restricts unmanaged apps to open attachments from managed space.
- Now when I send a email with an attachment to this managed mail account from personal account (Mail is sent from another device, not managed device)
- On receiving the email in managed mail account, Able to open the attachment in unmanaged apps.
The restriction seems not to be working when the personal mail account is present in the mail app along with the corporate mail account and the attachment received in a corporate mail account is treated to be in unmanaged space.
The restriction works fine when the personal mail account is removed from mail app.
Kindly confirm whether this is the expected behaviour.