Troubleshooting Microsoft Entra mandatory MFA issues in Cayosoft Guardian
Overview
Microsoft Entra ID enforces mandatory multi-factor authentication (MFA) for user-based sign-ins. Because Cayosoft Guardian uses the Azure SDK and Microsoft Entra authentication mechanisms, mandatory MFA enforcement can impact certain Guardian operations that rely on legacy user-based authentication, particularly Forest Recovery workflows.
This article explains how to identify MFA-related failures, how to remediate them, and what long-term changes are planned.
Affected scenarios
Mandatory MFA enforcement may affect the following Guardian operations:
- Forest Recovery plan execution
- Cloud resource access during recovery
- Azure-based operations authenticated with user credentials
NOTE: Operations authenticated using Microsoft Entra applications (app-only authentication) are not affected by mandatory MFA.
Symptoms
You may observe one or more of the following issues:
- Forest Recovery jobs fail during execution
- Authentication-related errors appear in Cayosoft Guardian logs
- Errors indicating MFA or conditional access enforcement
Root cause
Mandatory MFA is enforced by Microsoft Entra ID for interactive user sign-ins. Legacy user-based accounts used by Cayosoft Guardian cannot complete interactive MFA challenges, which causes authentication failures during automated operations.
Resolution
Temporary workaround (recommended)
To switch from legacy user-based authentication to Microsoft Entra application (app-only) authentication:
- Identify the Cayosoft Guardian operation failing due to MFA enforcement.
- Contact Cayosoft Support.
- Request the official script to replace the legacy user account with a Microsoft Entra application.
- Apply the script as instructed.
- Re-run the affected Forest Recovery operation.
This approach removes dependency on interactive user authentication and bypasses MFA enforcement.
After applying the workaround:
- Re-run the failed Forest Recovery job.
- Confirm the operation completes successfully.
- Verify no MFA-related errors appear in logs.
NOTE: Cayosoft is actively working on replacing legacy user-based authentication with Microsoft Entra application–based authentication to ensure Cayosoft Guardian operations are fully compatible with mandatory MFA enforcement and do not rely on interactive sign-in flows for automated processes.
Comments
0 comments
Please sign in to leave a comment.