entra1-6 Exercise 3: Why an MFA Rule Can Stop a Background Job ========================================================= Source: Microsoft Learn pages on Conditional Access (overview and workload identities). Re-check before relying on any detail. SUGGESTED REPLY (plain language) Hello , Thank you for the detail; it helps a great deal. Our product isn't broken, and your users signing in normally is a good sign. The nightly sync isn't a person; it's our application signing in as itself, with no one there to approve a prompt. A rule written for people ("require MFA for all cloud apps") can catch a job like this, because the job can't answer an MFA prompt. That would explain why users are fine but the job isn't. There are two possibilities, and a short look at one log entry will tell us which. Either the new rule is wrongly including the job, in which case your security team can exclude it, or a separate rule that applies to applications (for example one that only allows known IP addresses) is blocking its token request, in which case they can allow our server's fixed address. We'd suggest your security team make that adjustment rather than switching off the new rule; it should stay in place for your people. Could your administrator share their screen for ten minutes, so we can open the log entry for last night's failed run together? We don't need any password or secret. THREE FACTS TO CHECK FIRST (to tell the two situations apart) 1. Which kind of identity is the failing job, and where is it registered? If the product is a multitenant app (arrangement A), Microsoft says Conditional Access for workload identities doesn't cover it, so a user-focused MFA/legacy-auth rule is the more likely suspect. If the client created the registration (B or C), a workload-identity policy is possible. 2. What does the failing event say? The Service principal sign-ins log and its Conditional Access tab name the policy and the failure reason (for a workload-identity block: "Access has been blocked due to Conditional Access policies."). 3. Is the job using a flow that can't show a prompt (a user-based non-interactive token, a legacy protocol) rather than pure client credentials? If it acts as a user, an MFA rule can apply; a pure app-only job should not be asked for MFA at all. WHAT YOU DO NOT WANT THEM TO DO Switch off the MFA rule, or exclude a whole group of people to get the job working. Ask only for a narrow exclusion or an allowed IP address for the integration, decided by their security team. WHY THIS WORKS AS AN ANSWER --- It explains the difference between a person and an application in one sentence, offers two concrete outcomes, protects the client's security posture, and asks for the smallest useful action (a short screen share).