Issue with Logging into Intune Company Portal on Android with Cloudflare One

What is the name of the domain?

login.live.com

What is the issue you’re encountering

I’m encountering an issue on Android devices when connected to Cloudflare One. The problem occurs only when trying to log into the Intune Company Portal app. When Cloudflare One is active, I receive an error during login (screenshot attached). However, if I disconnect from Cloudflare One, I can log in without any issues.

What steps have you taken to resolve the issue?

Here are the steps I’ve tried to resolve the problem:

  1. Created a “Do Not Inspect” rule in the HTTP firewall policy.
  2. Enabled the “Directly route Microsoft 365 Traffic” option in the WARP profile.
  3. Added an egress policy to force the device to use only IPv4.
  4. Captured packets of a successful login with Cloudflare off (using the PCAPdroid app) and created a firewall rule to “Do Not Inspect” the domains visited during the login.

What are the steps to reproduce the issue?

  1. Turn Cloudflare one on and connect to your org
  2. Try opening company portal and logging in while connected to Cloudflare one

Screenshot of the error