microsoft-authentication-library-for-android
microsoft-authentication-library-for-android copied to clipboard
IntuneAppProtectionPolicyRequiredException is not getting triggered always, remediate compliance issue was not happening always
Issue: I have enabled the specified conditional access policies. However, during login, I have observed that the IntuneAppProtectionPolicyRequiredException is not consistently thrown. As a result, the remediation flow is not always triggered; instead, the process sometimes follows the normal flow and returns an access token.
Expected Behavior: According to the documentation, when the 'Require App Protection Policy' is enabled, the remediation flow should always be triggered. The current behavior, where the remediation flow is bypassed in certain cases, deviates from this expectation.