When I use a custom redirect URI such as schema://app, the application signs in without showing the DUO MFA prompt, and the user is logged in directly to the resource. In this flow, no Conditional Access policy is applied.
However, when I use the redirect URI as http://localhost, the DUO MFA prompt is displayed, and the Conditional Access policy is evaluated and enforced correctly.
How does Microsoft Entra ID evaluate Conditional Access policies based on the redirect URI, and why does the behavior differ between a custom URI scheme and http://localhost?