A cloud-based identity and access management service for securing user authentication and resource access
Microsoft’s recommended approach is to migrate from Conditional Access custom controls (such as RequireDuoMfa) to external multifactor authentication (External Authentication Method) and use the standard Require multifactor authentication grant in Conditional Access.
1. Target state and control model
External MFA is the strategic replacement for custom controls:
- External MFA does satisfy the Conditional Access Require multifactor authentication grant via a native MFA claim.
- External MFA provides:
- Accurate MFA reflection in sign-in logs.
- Support for Privileged Identity Management (PIM).
- Support for risk-based Conditional Access.
- Support for Intune device registration.
- Custom controls are deprecated and scheduled for retirement in early 2027 and do not satisfy the built-in MFA requirement.
Therefore, the target is:
- Move from a CA policy that grants access via Custom control (RequireDuoMfa)
- To a CA policy that grants access via Require multifactor authentication, satisfied by the configured external MFA method (Duo).
2. Application reuse vs. new application
The documented external MFA configuration requires:
- App ID (application registration ID in Microsoft Entra ID).
- Client ID.
- Discovery endpoint (OIDC metadata URL).
These are the same elements used by the custom control integration. The documentation does not require or recommend a separate application when moving from custom controls to external MFA. The same provider application can be used for both during the migration period, and custom controls and external MFA can operate in parallel while migration is in progress.
3. Recommended migration sequence
The documented migration flow aligns closely with the sequence described in the question. A recommended sequence is:
- Audit existing custom control policies
- Identify all Conditional Access policies that use the Duo custom control (RequireDuoMfa), including targeted users, apps, and conditions.
- Configure external MFA (Duo) as an authentication method
- In Microsoft Entra admin center:
- Go to Protection → Authentication methods → Policies.
- Select Add external method / Add method → External Authentication Method.
- Provide Display Name, Client ID, App ID, and Discovery Endpoint (Duo OIDC metadata).
- Grant admin consent when prompted.
- Under Enable and target, set Enabled and initially target only a test/pilot group (not all users). Optionally exclude break-glass accounts.
- In Microsoft Entra admin center:
- Create a new test Conditional Access policy requiring MFA
- Go to Protection → Conditional Access → Policies → + New policy.
- Assignments:
- Users: pilot/test group only.
- Exclude: break-glass/emergency accounts.
- Target resources:
- Same apps as the existing Duo custom control policy.
- Conditions:
- Optionally mirror the existing custom control policy (locations, device platforms, client apps, etc.).
- Grant:
- Grant access.
- Check Require multifactor authentication.
- Do not use Require authentication strength; external MFA does not satisfy authentication strength-based grants.
- Start in Report-only mode.
- Verify report-only behavior
- Have a pilot user sign in to a targeted app.
- Check Protection → Sign-in logs → Conditional Access tab:
- Confirm the new policy shows as Report-only: Not applied or Report-only: Success.
- Confirm the MFA method is listed as the external authentication method (Duo).
- Enable the new CA policy
- Change the policy from Report-only to On.
- Exclude pilot users from the existing custom control policy
- Open the existing custom control CA policy.
- Under Users → Exclude, add the pilot/test group.
- Save the policy.
- Verify policy assignment with What If
- Use Protection → Conditional Access → What If:
- Select a pilot user and a target app.
- Confirm:
- The old custom control policy does not apply.
- The new MFA policy does apply.
- Use Protection → Conditional Access → What If:
- Validate sign-ins and user experience
- Validate that pilot users are prompted by Duo via external MFA and that access is granted as expected.
- Phased rollout
- Follow a phased rollout plan:
- Phase 1: Test group (5–10 users).
- Phase 2: IT/early adopters (50–100 users).
- Phase 3: Department-by-department.
- Phase 4: All users.
- Gradually expand:
- External MFA authentication method targeting (include more groups/all users).
- CA policy scope (from pilot group to all users).
- Follow a phased rollout plan:
- Retire the custom control policy
- After all users are migrated and stable:
- Disable the old custom control CA policy.
- Monitor sign-in logs for 1–2 weeks to confirm no regressions.
- Delete the old custom control policy.
- Remove the custom control definition from the tenant.
- Do not delete the custom control configuration until the external MFA policy is confirmed stable; keep the old policy disabled as a rollback option during the observation period.
- After all users are migrated and stable:
4. Known limitations and behavioral differences
The documentation highlights several differences between custom controls and external MFA:
- Conditional Access “Require MFA” grant
- Custom controls: do not satisfy the built-in Require multifactor authentication grant.
- External MFA: does satisfy the Require multifactor authentication grant via a native MFA claim.
- Sign-in log accuracy
- Custom controls: MFA is not reflected as a native MFA event in sign-in logs.
- External MFA: full MFA reporting is available; external MFA appears as the MFA method in sign-in logs.
- Privileged Identity Management (PIM)
- Custom controls: not supported.
- External MFA: supported and can be used to satisfy mandatory MFA requirements for Azure and admin portals.
- Risk-based Conditional Access
- Custom controls: not supported.
- External MFA: supported; external MFA can be used in policies that rely on risk-based controls.
- Intune device registration
- Custom controls: not supported.
- External MFA: supported.
- Authentication strengths
- External MFA does not satisfy grant controls based on authentication strengths (including the built-in MFA strength). Policies must use Require multifactor authentication, not Require authentication strength, when relying on external MFA.
- Parallel operation during migration
- Custom controls and external MFA methods can operate in parallel during migration. The recommended pattern is to:
- Create a new CA policy using Require multifactor authentication.
- Include a test group in the new policy and exclude it from the custom control policy.
- Once validated, move all users to the MFA-based policy and set the custom control policy to Off.
- Custom controls and external MFA methods can operate in parallel during migration. The recommended pattern is to:
5. Guidance specific to organizations using Duo custom controls
The general guidance for customers using external providers via custom controls (such as Duo) and planning migration before custom control retirement is:
- Configure the external MFA provider as an external authentication method using the provider’s OIDC metadata (App ID, Client ID, Discovery URL).
- Create a parallel set of Conditional Access policies that use Require multifactor authentication instead of the custom control grant.
- Test with a subset of users by:
- Including them in the external MFA method policy and the new CA policy.
- Excluding them from the custom control policy.
- After validation, include all required users in the MFA-based policy, then move the custom control policy to Off and eventually remove it.
This approach aligns with Microsoft’s documented migration guidance and prepares the environment for the retirement of custom controls in early 2027.
References: