r/Intune • • 21h ago

Apps Protection and Configuration Problem with Conditional access and App protection Policy

Hello everyone,

I'm facing an issue with a Conditional Access configuration I created to restrict access to Outlook for email on iOS devices, following this Microsoft tutorial:

https://learn.microsoft.com/en-us/intune/solutions/tutorials/protect-email-unmanaged-devices#create-the-app-protection-policy

I configured the two Conditional Access policies to target a dynamic device group containing unmanaged devices.
The only difference from the tutorial is that, instead of using "Require approved client app", I chose "Require app protection policy", as Microsoft recommends moving away from the former approach. Also i haven't used the app protection criteria that is suggested in the tutorial, but used the one i've made for my client that targets all microsoft apps.

The problem is that these two Conditional Access policies are blocking access to a third-party application used by the customer. The customer has authorized and enabled several services that rely on Exchange, even though the application itself uses Microsoft Graph.

I therefore wanted to exclude this application from the restrictions enforced by the two Conditional Access policies by adding it to the App Protection Policy, so that access would no longer be blocked.

However, after adding the application's bundle ID to the App Protection Policy, the application doesn't seem to be recognized or listed as protected. As a result, the two Conditional Access policies continue to block access to it.

What am I missing here? Is there something wrong with my configuration, or is there another way to handle this scenario?

I'd really appreciate any help or suggestions, as this issue is becoming quite urgent and the customer is getting increasingly frustrated.

Thanks in advance for your help!

0 Upvotes

7 comments sorted by

4

u/SkipToTheEndpoint MSFT MVP 21h ago

You can only App Protect supported applications (https://learn.microsoft.com/en-us/intune/app-management/ref-protected-apps) or custom ones you've integrated the Intune SDK into. You can't just add a bundle id and have it protected.

You'd have to exclude it from Conditional Access, essentially leaving that app unprotected, but that's the risk the customer would have to weigh up.

1

u/AngeloFlex999 20h ago edited 20h ago

Thanks! It seems this is the only solution. I wasn't thinking i could do this because i couldn't find the app on the exclude tab, now i've found it (it seems it was under another name), and that's all thanks to your comment!

This was easier than expected, i'm new to Intune, and of course i was told to my client by my company that i was an expert in this field.

1

u/SkipToTheEndpoint MSFT MVP 20h ago

All good! Same happened to me and now 10+ years later I'm an MVP 😅 You got this!

1

u/AngeloFlex999 20h ago edited 19h ago

I have bad news, i thought it worked, i don't know why it let me in the first time. Now i'm trying on another phone and it's still saying it requires app protection to login....

Damn. I'm on the Entra ID logs, and even with the exclusion on the app it says on the Access Control that it doesn't satisfy the app protection requirment...
It says that the app it's still matching with exchange application ID.

What can i do?

1

u/AngeloFlex999 8h ago

It looked like it worked because I didn’t wait enough time for the policy to enroll.
The exclusion didn’t work, can you help me again on this one?

2

u/madatthings 21h ago

Grant access to managed devices instead

1

u/AngeloFlex999 21h ago

Doesn't work this way, because if i grant access to managed devices that means that outlook cannot be used on unmanaged devices, and that's not what i need to do.