SOLVED

Block Gmail app to connect to EXO

Iron Contributor

Hi all,

 

We are implementing the Outlook app as default mail app on iOS and Android devices. So far, so good.

But with testing the CA policy with approved client apps and approved app protection policy on, we see that the Gmail app is able to connect to EXO. The Gmail is not an approved app, according to Microsoft (https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-acces...), but is still able to connect. I know that the Gmail app is using Modern Auth these days. 

 

Any ideas how we can block the Gmail app from connecting to EXO?

7 Replies

Hi, are you following this process which is meant to do the job - Block all email apps except Outlook for iOS and Android using conditional access, is there any difference with how you have it set up currently?

I think Gmail is still using IMAP to connect to O365.

Hi @Cian Allner ,

 

I followed exactly all the 3 steps in that doc. And it is still not working.

best response confirmed by Jeroen Burgerhout (Iron Contributor)
Solution

Oké guys.

 

Thanks for your support, but it is resolved.

Gmail is indeed using the old legacy IMAP protocol to connect to EXO.

But it took some time that the CA was working.

 

So this one is solved and closed.

@Jeroen Burgerhout  Hi. How did you resolve it ?

Hi @Virre ,

 

First you have to follow steps 1 and 2 from this link -> https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/app-protection-based-cond...

 

Second, follow this doc -> https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/block-legacy-authenticat... and then use a test user to test this CA policies.

 

But it could be that you have to wait for a couple of hours, until the policies are working. I had it in my case. Test it also on iOS and Android devices with their native mail apps and the Gmail app.

 

If you have any questions, let me know.

@Jeroen Burgerhout 

dear all i m sorry to tell you that but you are all wrong about the Gmail mobile app 

it is not using legacy it is using the browser as authentication 

kazaki82_1-1627477013362.png

and some times using modern authentication 

kazaki82_2-1627477055421.png

so the only way is to go to enterprise applications and block it 

kazaki82_3-1627477105829.png

 

 

1 best response

Accepted Solutions
best response confirmed by Jeroen Burgerhout (Iron Contributor)
Solution

Oké guys.

 

Thanks for your support, but it is resolved.

Gmail is indeed using the old legacy IMAP protocol to connect to EXO.

But it took some time that the CA was working.

 

So this one is solved and closed.

View solution in original post