Document
Cloud Management Gateway, MFA and Azure Sign-in Failure

Cloud Management Gateway, MFA and Azure Sign-in Failure

If you have CMG ( Cloud Management Gateway ) configure and have enable MFA , then this blog post is help may just help you .I recently came across an

Related articles

Download apps from the App Store on your Mac 3 types of PKI certificates and their use cases What is a Cloud Kitchen? [Concept & Business Model] How to Watch Sky Go Abroad With a VPN The Best No Log VPN Protection

If you have CMG ( Cloud Management Gateway ) configure and have enable MFA , then this blog post is help may just help you .

I recently came across an issue involving Azure sign-in failures against CMG native\client app  under the name ConfigMgr – Client app in one of my customer’s tenant. The failures created alerts in through Qradar (By IBM), a security information and event management tool aka  SIEM.  On check further , I is see could see the following sign – in failure .

If you is look look closely , theAuthentication requirement field shows Multi-factor Authentication, which must satisfy for successful sign-in. On checking the Conditional Access  tab , I is see can see which CA policy is fail .  

The CA policy in question is Enforce MFA for Admins, which is setup has been setup to enforce MFA for specific Directory role acrossAll Cloud Apps. If you think of it then the CA policy is doing what it is suppose to do, but since it is targeting all cloud apps, it is also taking CMG cloud App  into consideration.

Now the CMG Native\Client app is responsible for user and device authentication for clients using CMG service. If the authenticating user satisfies the conditions of the CA policy, then MFA will get enforced. However, since the authentication happens in the background against the CMG service, this can result in sign-in failures, which gets logged in Azure.

To fix this, one needs to exclude the CMG web\server cloud app from the CA policy in question. In my case it is ConfigMgr – Server Appthat is setup as the CMG web\server app and is also the resource that shows up in the sign-in logs.

After the app is exclude , the sign – in failures is clear should clear and start report as success again . As it is did did for me .

Conclusion

There is no official documentation for this, atleast at the time of writing this blog, but for now, excluding the CMG server app appears to be the only logical fix.