Create Conditional Access Policy

Brass Contributor

Hi Team. I have a doubt, I have assign MFA for Outlook and Teams clients?

 

In Conditional Access policy, Conditions - Device platforms - Select Windows.

In Client Apps select Mobile apps and desktop clients.

 

This option, apply for Outlook and Teams clients?

 

Or exist other option for configure MFA in this clients?

 

Regards,

 

Thanks, 

16 Replies
Hi. It sounds about right. Is the CA policy not working for you?
It only works in Teams client. In Outlook client not working.

Hi @CarlosMorales ,

 

This is what I would do. Make sure you use Modern authentication.

This is not ideal situation with Exchange Online App, but adding Device platfrom - Windows, Client apps - Mobile apps and Desktop clients plus enabling Modern authentication is the closest you can get.

I just tested in my environment and it will require MFA for Outlook client on Windows (if modern enabled), it does not ask you for MFA on other devices. It will not require MFA in browsers. 

Good luck

 

Adin_Calkic_0-1651336437953.png

Adin_Calkic_1-1651336445474.png

Adin_Calkic_2-1651336451555.png

Adin_Calkic_3-1651336483130.png

 

Please see below, testing environment with the policy from above.

 

outlook client vs web.gif

Have you tried running your scenario against the whatif tool? Also, you can look at sign-in logs to verify if you have configured the right CA parameters or not.
Hello Carlos,
As far as I know, Office 365 Exchange Online is NOT Outlook Client.
It is related to access to Outlook via a web browser (Chrome, Edge, etc.).
https://techcommunity.microsoft.com/t5/outlook-blog/conditional-access-in-outlook-on-the-web-for-exc...

Hi @mikhailf ,

 

Thanks for the contribution. That is the main reason I excluded Browser. I just update behavior from the test environment. 

 

Adin_Calkic_0-1651401997867.png

 

So please, check the rahuljindal-MVP comment.
It makes sense to check the What If feature and Azure AD Sign-in logs.
In addition to that, have you tried to log in to Outlook web using web browser? I wonder if you get an MFA there.

Hi @mikhailf ,

see below logging into web Outlook. No MFA. 

 

Adin_Calkic_0-1651409715593.gif

 

Hi Adin. I really appreciate your answer.
I have configured the policy as you explain, the results:
Outlook web doest not request MFA.
Teams Client if you request MFA.
Outlook client does not request MFA, not working.

Thanks,

Hi @CarlosMorales ,

thanks for the reply.

 

Keep in mind that in this particular setup, you have to disable Legacy authentication and enable Modern authentication.

 

You can accomplish this by additional additional Conditional Access. see below. 

Also you can do this by disabling Basic authentication from Admin center. 

 

Adin_Calkic_0-1651422902424.png

 

Hi Mikhalif.
This is correct, with Exchange Online policy does not work. I remove Exchange Online and select Office 365 but the policy does not working with Outlook client only working with Teams Client.
Hi Mikhailf.
For test policy I add Browser in Client apps and the policy works in Outlook Web, but my request is for Outlook Client.
Hi.
For block legacy authentication select all options:
Outlook client, Exchange ActiveSync, Autodiscover, IMAP4, POP3, Authenticated SMTP and Exchange Online PowerShell?

Thanks

Hi @CarlosMorales ,

 

you can uncheck everything but I would suggest also creating a CA policy and block legacy. 

 

If you decide to uncheck from Admin portal - see below my environment. 

 

Adin_Calkic_0-1651441266916.png

 

If you decide to do CA policy, you can Assign to test user, Cloud apps to All Cloud Apps, and Conditions under Client apps set to Yes, and check both under Legacy authentication clients. Under Grant set to Block.

 

Good luck. Make sure your Outlook client is the latest version to support Modern authentication. You can read about it here - Modern Authentication configuration requirements for transition - Exchange | Microsoft Docs

 

Adin_Calkic_1-1651441356569.png

 

 

Hi @Adin_Calkic 

 

Perform both settings: block legacy authentication and create CA policy.
Cannot working MFA in Outlook Client, the client version is 2203 Build 15028.20204

 

CarlosMorales_0-1651506188629.png

 

CarlosMorales_2-1651506672668.png

 

 

Hi @CarlosMorales ,

 

check here on how to force modern authentication for Outlook client. You can set in registry. 

Modern Authentication configuration requirements for transition - Exchange | Microsoft Docs