Home

Restrict third-party mail app access in iOS to Exchange Online

%3CLINGO-SUB%20id%3D%22lingo-sub-242239%22%20slang%3D%22en-US%22%3ERestrict%20third-party%20mail%20app%20access%20in%20iOS%20to%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242239%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trialling%20Intune%2C%20with%20a%20view%20to%20it%20being%20used%20at%20the%20company%20I%20work%20for.%20One%20of%20the%20features%20we%20are%20particularly%20keen%20on%20is%20conditional%20access%20-%20we%20want%20the%20ability%20to%20limit%20Office%20365%20email%20access%20only%20to%20devices%20that%20we%20have%20enrolled%20in%20Intune.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI've%20setup%20the%20conditional%20access%26nbsp%3Bas%20per%20the%20attached%20images%20and%20we%20are%20still%20having%20an%20issue.%20While%20access%20from%20the%20native%20mail%20app%20and%20from%20the%20browser%20are%20both%20blocked%20(from%20a%20test%20iPhone)%2C%20one%20third-party%20app%20in%20particular%2C%20Edison%20Mail%2C%20can%20still%20be%20setup%20with%20our%20dummy%20365%20account.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETesting%20with%20the%20below%20mail%20apps%20on%20iOS%2C%20they%20all%20were%20unable%20to%20use%20the%20dummy%20365%20account%2C%20but%20I%20notice%20that%20they%20all%20directed%20you%20during%20the%20account%20setup%20to%20the%20login%20webpage%20that%20you%20are%20also%20presented%20with%20when%20you%20setup%20email%20on%20the%20native%20iOS%20mail%20app.%20Edison%20Mail%20simply%20asks%20for%20your%20O365%20email%20address%20and%20password%20from%20within%20the%20UI%20of%20the%20app%20itself%2C%20not%20a%20Microsoft%20'in%20browser'%20loin%20page.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CUL%3E%3CLI%3EAstro%3C%2FLI%3E%3CLI%3ESpark%3C%2FLI%3E%3CLI%3EMyMail%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20understanding%20is%20that%20in%20selecting%20the%20%22Require%20approved%20client%20app%22%2C%20this%20would%20limit%20access%20only%20to%20the%20apps%20listed%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-gb%2Fazure%2Factive-directory%2Fconditional-access%2Ftechnical-reference%23approved-client-app-requirement%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20offer%20any%20guidance%20on%20why%20this%20one%20particular%20app%20is%20not%20getting%20rejected%20access%20to%20Exchange%20Online%2C%20like%20the%20other%20apps%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMany%20thanks%20in%20advance!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdam%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-242239%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EConditional%20Access%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-242669%22%20slang%3D%22en-US%22%3ERe%3A%20Restrict%20third-party%20mail%20app%20access%20in%20iOS%20to%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242669%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Joe%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20your%20assistance%2C%20I%20believe%20with%20your%20help%20I've%20resolved%20the%20issue.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20created%20a%20new%20conditional%20access%20policy%2C%20with%20a%20condition%20to%20apply%20the%20policy%20to%20%22Exchange%20ActiveSync%20Clients%22%20or%20%22Other%20clients%22%20-%20this%20one%20is%20set%20to%20block%20access%2C%20rather%20than%20grant.%20From%20your%20findings%20with%20Edison%20that%20it%20doesn't%20MFA%2C%20I%20assume%20that%20it%20therefore%20falls%20under%20the%20%22Other%20clients%22.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20I%20still%20don't%20understand%20is%20why%20a%20device%20we%20tested%20with%20that%20wasn't%20enrolled%20in%20Intune%20was%20still%20able%20to%20use%20Edison.%20I%20assumed%20that%20the%20first%20policy%20I%20created%20to%20grant%20access%2C%20with%20the%20requirement%20that%20a%20device%20was%20compliant%20in%20Intune%2C%20would%2C%20mean%20that%20other%20devices%20that%20tried%20to%20connect%20which%20weren't%20compliant%20would%20get%20blocked.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyway%20-%20we%20are%20glad%20that%20it%20is%20setup%20now%20with%20the%20desired%20behaviour!%20Many%20thanks%20again!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAdam%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-242435%22%20slang%3D%22en-US%22%3ERe%3A%20Restrict%20third-party%20mail%20app%20access%20in%20iOS%20to%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-242435%22%20slang%3D%22en-US%22%3E%3CP%3EAdam%2C%3C%2FP%3E%3CP%3EEdison%20does%20not%20use%20Modern%20Authentication%2C%20I%20verified%20this%20by%20downloading%20it%20and%20attempting%20to%20sign%20in%20with%20my%20MFA-enabled%20account.%20It%20told%20me%20I%20had%20to%20sign%20in%20with%20my%20MFA%20%22App%20Password.%22%3C%2FP%3E%3CP%3EThe%20confirms%20that%20Edison%20is%20using%20what%20is%20known%20as%20%22Legacy%20Authentication.%22%3C%2FP%3E%3CP%3EBased%20on%20what%20I%20saw%20you%20configure%20in%20your%20Conditional%20Access%20Rules%2C%20you%20are%20missing%20a%20block%20rule%20to%20specifically%20block%20legacy%20authentication%20for%20Exchange%20Online.%20This%20should%20then%20block%20the%20Edison%20app.%3C%2FP%3E%3CP%3EGive%20it%20a%20try%2C%20isolate%20it%20to%20a%20single%20test%20account%2C%20and%20let%20us%20know%20how%20it%20works.%3C%2FP%3E%3CP%3EHope%20this%20helps.%3C%2FP%3E%3CP%3EJoe%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Adam S
New Contributor

Hello all,

 

I am trialling Intune, with a view to it being used at the company I work for. One of the features we are particularly keen on is conditional access - we want the ability to limit Office 365 email access only to devices that we have enrolled in Intune.

 

I've setup the conditional access as per the attached images and we are still having an issue. While access from the native mail app and from the browser are both blocked (from a test iPhone), one third-party app in particular, Edison Mail, can still be setup with our dummy 365 account.

 

Testing with the below mail apps on iOS, they all were unable to use the dummy 365 account, but I notice that they all directed you during the account setup to the login webpage that you are also presented with when you setup email on the native iOS mail app. Edison Mail simply asks for your O365 email address and password from within the UI of the app itself, not a Microsoft 'in browser' loin page. 

 

  • Astro
  • Spark
  • MyMail

 

My understanding is that in selecting the "Require approved client app", this would limit access only to the apps listed here.

 

Can you offer any guidance on why this one particular app is not getting rejected access to Exchange Online, like the other apps?

 

Many thanks in advance!

 

Adam

2 Replies

Adam,

Edison does not use Modern Authentication, I verified this by downloading it and attempting to sign in with my MFA-enabled account. It told me I had to sign in with my MFA "App Password."

The confirms that Edison is using what is known as "Legacy Authentication."

Based on what I saw you configure in your Conditional Access Rules, you are missing a block rule to specifically block legacy authentication for Exchange Online. This should then block the Edison app.

Give it a try, isolate it to a single test account, and let us know how it works.

Hope this helps.

Joe

 

Hello Joe,

 

Thanks for your assistance, I believe with your help I've resolved the issue.

 

I created a new conditional access policy, with a condition to apply the policy to "Exchange ActiveSync Clients" or "Other clients" - this one is set to block access, rather than grant. From your findings with Edison that it doesn't MFA, I assume that it therefore falls under the "Other clients".

 

What I still don't understand is why a device we tested with that wasn't enrolled in Intune was still able to use Edison. I assumed that the first policy I created to grant access, with the requirement that a device was compliant in Intune, would, mean that other devices that tried to connect which weren't compliant would get blocked. 

 

Anyway - we are glad that it is setup now with the desired behaviour! Many thanks again!

 

Adam

Related Conversations
Tabs and Dark Mode
cjc2112 in Discussions on
38 Replies
Extentions Synchronization
Deleted in Discussions on
3 Replies
Security Community Webinars
Valon_Kolica in Security, Privacy & Compliance on
13 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
29 Replies