Exclude Office365 Exchange Microservices

Stephan van den Heuvel 61 Reputation points
2023-11-14T10:13:01.4766667+00:00

Hi all,

We've set conditional access policies to control MFA to specific apps and resources. In 2 of those CA policies I configured a different sign-in frequency. One for external virtual desktop access (like 24 hours) and one for mobile Outlook App access (like 7 days).

By excluding Office365 Exchange Online in one CA policy and including it in the other this works fine for the Outlook app on iOS. You see it is accessing the resource named 'Office365 Exchange Online' in the sign-in logs and activating the 7 days sign-in frequency.

Android users however are complaining they get the 24 hours sign-in frequency. I've noticed a different resource named 'Office365 Exchange Microservices'. This is not a cloud app you can select in the pull down menu to exclude or include.

How can I mark or filter this resource in our CA policies?

Regards,

Stephan

Exchange Online
Exchange Online

A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.

Outlook | Windows | Classic Outlook for Windows | For business
Microsoft Security | Microsoft Entra | Microsoft Entra ID

Answer accepted by question author
Casper 85 Reputation points
2026-02-03T12:10:26.1966667+00:00

Solved it by adding Office 365 Exchange Microservices as a service principal with PowerShell, then we were able to exclude it from Conditional Access.

New-AzureADServicePrincipal -AppId ec156f81-f23a-47bd-b16f-9fb2c66420f9

Was this answer helpful?

2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Andy David - MVP 160.3K Reputation points MVP Volunteer Moderator
    2023-11-14T12:21:31.11+00:00

    From what I have seen, if you cant target it with a policy then its built in the larger application and you wont be able to get around that other than targeting specfic users perhaps versus devices.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

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.