EdbMails EDB Recovery and Migration software
  • Products
    EdbMails
    All-in-one Recovery and Migration Tool
    • EDB recovery and Migration
    • OST, PST, MBOX, NSF, EML, MSG
    • Office 365, Exchange Migration
    • SharePoint, OneDrive & Teams
    • G Suite Migration
    • IMAP Migration
    • Duplicate Remover
    • EdbMails Data Recovery
    • Backup Solutions
    All Products

    EDB Recovery and Migration

    EdbMails lets you recover corrupted, damaged, and offline Exchange EDB files, convert EDB mailboxes to PST format, and directly migrate mailbox data to Office 365 and live Exchange Server.

    EDB to PST
    Recover corrupted, damaged, offline EDB files and convert Exchange EDB mailboxes to PST file format
    Public Folder to Exchange
    Migrate public folders from an Exchange offline EDB file to live Exchange Server
    EDB to Live Exchange Migration
    Directly migrate offline Exchange database (EDB) files to live Exchange server
    Archive Mailbox to Office 365
    Migrate archive mailboxes from offline EDB files directly to Office 365
    EDB to Office 365 Migration
    Directly migrate offline Exchange database (EDB) files to Office 365
    Public Folder to Office 365
    Migrate public folders from an offline Exchange EDB file to Office 365

    OST, PST, MBOX, NSF, EML, MSG Export and Migration

    EdbMails lets you to recover OST and PST files, export OST, PST, MBOX, NSF, EML, and MSG files to PST files, and directly migrate OST, PST, MBOX, and NSF mailbox data to Office 365 and live Exchange Server.

    OST Recovery and Migration
    Recover offline OST files, convert OST to PST, and migrate OST to Office 365 and Exchange Server
    PST Recovery and Migration
    Recover Outlook PST files , Export PST to PST, migrate PST to Office 365 and Exchange Server
    MBOX Export and Migration
    Export MBOX to PST, migrate MBOX to Office 365 and Exchange Server
    NSF Export and Migration
    Export NSF to PST, migrate NSF to Office 365 and Exchange Server
    EML to PST Export
    Convert EML files to Outlook PST files
    PST to MSG Export
    Convert Outlook PST file to MSG file format
    MSG to PST Export
    Export MSG files to Outlook PST files

    Office 365, Exchange Migration

    EdbMails lets you securely migrate mailboxes across Microsoft 365, Exchange, Google Workspace (G Suite), and IMAP-supported servers such as Outlook, Gmail, Zimbra, Zoho Mail, and cPanel, ensuring zero downtime.

    Office 365 Migration
    Migrate between Office 365 tenants, Office 365 to Exchange, Office 365 to PST, PST files to Office 365.
    Exchange Migration
    Migrate between any Exchange Servers, Exchange to Office 365, Exchange to PST, PST files to Exchange.
    Tenant to Tenant Migration
    Migrate Mailboxes, Public Folders, Archive Mailboxes between Office 365 Tenants.
    Exchange to Office 365
    Migrate Mailboxes, Public Folders, Archive Mailboxes from live Exchange server to Office 365.
    Office 365 to IMAP
    Migrate Office 365 to IMAP, Office 365 to Gmail, Office 365 to Outlook, Office 365 to Zoho etc.
    Exchange to IMAP
    Migrate from live Exchange Server to IMAP servers such as Gmail, Outlook, and Zoho Mail.
    Public Folder to Office 365
    Migrate Public Folders between Office 365 tenants with complete folder hierarchy and mailbox data integrity.
    Exchange to PST
    Export live Exchange Server mailboxes, public folders, and archive mailboxes to Outlook PST files.

    SharePoint, OneDrive & Microsoft Teams Migration

    EdbMails lets you migrate SharePoint sites, OneDrive data, Microsoft Teams, teams, channels, chats, permissions, and documents between Microsoft 365 tenants while maintaining the existing folder structure and data integrity.

    SharePoint Online Migration
    Migrate documents, lists, files and folders from SharePoint sites.
    OneDrive for Business Migration
    Migrate documents, lists, files, folders, private chats from OneDrive.
    Microsoft Teams Migration
    Migrate Teams, chats, channels, documents, files and folders etc.

    Google Workspace / G Suite Migration

    EdbMails G Suite Migration Tool lets you easily migrate emails, calendars, contacts, tasks, and more from G Suite to Office 365, Exchange Server, and IMAP servers using a Google Admin account without requiring individual user credentials.

    G Suite Migration
    Migrate emails, calendars, contacts, tasks from G Suite to Office 365, G Suite to Exchange, G Suite to IMAP Servers
    G Suite to Office 365
    Migrate emails, calendars, contacts, tasks from Google Workspace / G Suite to Office 365
    G Suite to Exchange Server
    Migrate emails, calendars, contacts, tasks from Google Workspace / G Suite to on-Premise Exchange Server
    G Suite to IMAP
    Migrate emails, calendars, contacts, tasks from Google Workspace / G Suite to IMAP, Outlook, Zimbra, Zoho etc.

    IMAP Migration

    EdbMails IMAP Migration tool lets you easily migrate emails from IMAP servers such as Outlook, Gmail, Zoho Mail, Zimbra, cPanel, and more. Supports IMAP to IMAP, Office 365, Exchange Server, PST, and bulk PST to IMAP migration.

    IMAP Email Backup & Migration
    Backup and migrate emails from IMAP servers to PST, Office 365, and On-Premises Exchange Server
    IMAP to Office 365
    Migrate emails, folders, and attachments from IMAP servers to Office 365
    IMAP to Exchange
    Migrate emails, folders, and attachments from IMAP servers to on-premises Exchange Server
    IMAP to PST
    Export emails, folders, and attachments from IMAP servers to Outlook PST files for backup
    PST to IMAP
    Migrate emails, folders, and attachments from bulk PST files to IMAP servers

    Duplicate Remover

    EdbMails Duplicate Remover lets you easily remove duplicate items from Office 365 and Exchange Server, and from IMAP, Outlook, Gmail, Zimbra, Zoho Mail, etc., ensuring a clean and organized mailbox.

    Remove Duplicates
    Easily clean up your Office 365, Exchange, Outlook and IMAP accounts by removing duplicate emails.
    Remove Duplicates from Office 365
    Remove duplicate emails, calendars, contacts, journal tasks, etc. from Office 365.
    Remove Duplicates from Exchange Server
    Remove duplicate emails, calendars, contacts, journal tasks, etc. from live Exchange Server.
    Remove Duplicates from IMAP, Outlook
    Remove duplicate emails, attachments from IMAP, Outlook, Gmail, Zimbra, Zoho Mail etc.

    Exchange, SharePoint, OneDrive, Teams and Office 365 Backup

    EdbMails enables secure, automated backup and recovery for Microsoft 365 services including Exchange Online, SharePoint, OneDrive, Teams, and Live Exchange Server with complete data protection and restore flexibility.

    Office 365 Backup
    Incremental, Granular, Encrypted and Compressed Office 365 Mailboxes Backup
    Exchange Server Backup
    Incremental, Granular, Encrypted and Compressed Exchange Mailboxes Backup
    SharePoint, OneDrive & Teams Backup
    Backup Online site collections, Team sites, Office 365 groups, all documents etc.

    EdbMails Data Recovery

    EdbMails Data Recovery Software lets you recover permanently deleted data, including photos, videos, documents, and archived files, from partitions on hard drives, SSDs, USB drives, SD cards, and external storage devices.

    EdbMails Data Recovery
    Recover and restore permanently deleted data from hard drives, SSDs, USB drives, SD cards, and etc.
    Whitepaper
    Request a Demo
    Sign Up
  • Features
  • FAQ
  • Offers
  • Pricing
  • Download
  • Support
  • Sign in
User’s Manual
Office 365 Migration

User Manual

User Manual

  • Office 365 Migration Overview
  • Initial setup
  • System Requirements
  • Migration Scenarios
  • Software Setup
    • EdbMails Installation Process
    • Upgrading the Software
    • How to uninstall
    • Reinstallation
  • Understanding the Application
    • Software's Main Components
    • Understanding the Migration
  • FAQ
    • General
    • Migration Free Trial / Demo
    • Migration License
    • Before Migration
    • Migration - Steps
    • After Migration
  • Videos
    • Office 365 to Office 365
    • Office 365 to Exchange
    • Office 365 to IMAP
    • Office 365 to PST
    • Public Folder to Office 365
    • Archive Mailbox to Office 365
    • Public Folder to Exchange
    • Archive Mailbox to Exchange
    • Restore Bulk PST files to Office 365
    • Automatically Create Office 365
    • Export Office 365 user to CSV file
  • Screenshots
    • Office 365 to Office 365
    • Office 365 to Exchange
    • Office 365 to PST
    • Office 365 to IMAP
  • How it works?
    • Office 365 to Office 365
    • Office 365 to Exchange
    • Office 365 to IMAP
    • Office 365 to PST
    • Public Folder to Office 365
    • Public Folder to Exchange
    • Public Folder to Shared Mailbox
    • Archive Mailbox to Office 365
    • Archive Mailbox to Exchange
    • Office 365 to Hosted Exchange
    • Multiple PST to Office 365
    • Office 365 to Gmail Migration
    • Office 365 Shared mailbox to Exchange
    • Office 365 Public folders to PST
    • Office 365 archive mailbox to PST
    • Office 365 Shared mailbox to PST
    • Office 365 shared mailbox to Public folder
    • Office 365 Archive mailbox to Shared mailbox
    • Office 365 Shared mailbox to Archive mailbox
    • Office 365 to Zoho migration
    • Office 365 group mailbox to shared mailbox
    • Shared mailbox to Office 365 Groups mailbox
    • Office 365 Groups mailbox to Regular mailbox
  • Connect to source Office 365
  • Connect to target Office 365
  • Modern Authentication Using OAuth 2.0
    • Microsoft 365 modern authentication
    • Automatic Registration
    • Manual Registration
  • Connect to Exchange server
  • Knowledge Base
    • Migrate between Office 365 tenants
    • Migrate Office 365 mailbox
    • Public folder migration
    • Office 365 to Exchange Migration
    • Office 365 Migration with same Domain
    • Office 365 Group Migration
    • Selective Mailbox Migration
    • Migration to Exchange 2007, 2010, 2013, 2016 and 2019
    • User-Defined Mailbox/Folder Mapping
    • Export Office 365 users to CSV
    • GoDaddy to Microsoft 365 migration
    • Rackspace to Office 365 migration
    • Office 365 migration methods
    • Office 365 migration checklist
    • Migrate Shared mailbox to Office 365
    • Office 365 migration best practices
    • Office 365 migration challenges
    • Convert shared mailbox to regular mailbox
    • Office 365 to Exchange 2019 migration
    • Office 365 multiple mailbox migration
    • Office 365 Server to Server Migration
    • Cross-Tenant Office 365 migration
    • EWS throttling in Exchange Online
    • Office 365 migration common use cases and solutions
    • Language settings on Office 365 Server
    • Office 365 to iCloud migration
    • Office 365 to Yahoo Mail migration
    • Microsoft 365 sign-in issue
    • Batch create Outlook profiles Intune
    • Create an Office 365 Migration Endpoint
    • Validate Office 365 Mailbox Migration
    • Office 365 Migration Network Requirements
    • Microsoft 365 Migration URLs & Endpoints
    • Office 365 Migration Firewall Ports
    • DNS Changes After Office 365 Migration
    • Autodiscover Troubleshooting After Migration
    • Post-Migration MX Record Validation
    • Office 365 Mail Flow Troubleshooting
    • Mailbox Permission Validation
    • EdbMails vs CodeTwo vs MigrationWiz vs Native Tools
    • Calendar Permission Migration Issues
    • Folder Permission Troubleshooting
    • Large Mailbox Migration Best Practices
    • Archive Mailbox Sync Issues
    • Office 365 Migration Coexistence
    • Cross-Tenant Mailbox Permissions
    • Cross-Tenant Calendar Migration
    • Migration Using App-Only Authentication
    • Office 365 Mailbox Mapping Errors
    • Exchange Online Migration Limits
    • Mailbox Integrity After Migration
    • Security Best Practices for Migration
  • Migration Types
    • Cutover Migration
    • Staged Migration
  • Set Exchange Server Impersonation rights
  • Map the Mailboxes
  • Migration Walkthrough
    • Office 365 tenant to tenant migration
    • Office 365 to Exchange migration
    • Office 365 to PST Export
  • Multifactor Authentication
    • Enable MFA in Office 365
    • Create App password for MFA
    • Disable Security Defaults
  1. Home
  2. Office 365 Migration
  3. Fix Modern Authentication Failures During Office 365 Migration | EdbMails
Download Buy Now

Fix Modern Authentication Failures During Office 365 Migration

Modern Authentication was supposed to make sign-ins more secure and, ideally, less of a hassle than juggling app passwords and legacy protocols. For the most part, it does exactly that — but it's also become its own small category of migration headaches once MFA, Conditional Access, and a handful of older Outlook quirks get involved. A connection that authenticated perfectly fine yesterday can suddenly show "Disconnected," throw an AUTHHEALTHCHECKFAILED error, or get stuck cycling through sign-in prompts that never actually complete. None of this means OAuth tokens are corrupted or that data has been lost — it usually means something in the modern auth handshake (MFA state, tenant policy, a stale credential cache, or a client-side quirk) has gotten out of sync. EdbMails Office 365 Migration authenticates through Modern Authentication natively, which keeps it clear of the legacy-protocol pitfalls covered here — but since a lot of these failures originate on the Microsoft 365 tenant or client side rather than in the migration tool itself, it's worth understanding what's actually going on. This page covers the most common Modern Authentication failures seen during migration work and how to resolve them.

What "Modern Authentication" Actually Covers

Modern Authentication in Microsoft 365 is built on the Active Directory Authentication Library (ADAL) and OAuth 2.0, and it enables things like multi-factor authentication, smart card sign-in, certificate-based authentication, and federated sign-in through non-Microsoft identity providers. It's been the default across Exchange Online, Teams, and SharePoint since August 2017, which means most tenants have been running on it for years without issue. The failures that show up tend to cluster around three areas: the client (Outlook, a script, or a migration tool) not actually using Modern Auth even though it's enabled tenant-wide, MFA or Conditional Access policy interrupting an otherwise valid session, and stale credentials lingering somewhere they shouldn't.

Common Modern Authentication Failures and What Causes Them

"Disconnected" Status After Enabling Modern Authentication

This is a well-documented Outlook issue: once Modern Authentication is enabled, a mailbox can show "Disconnected" if the user's primary Windows sign-in account doesn't match the account they actually use to access that mailbox. It happens most often when more than one mailbox is configured in the same Outlook profile and the sign-in accounts don't line up. Microsoft's own fix is to recreate the Outlook profile from scratch — there's no registry tweak or setting that reliably resolves it once the mismatch exists.

AUTHHEALTHCHECKFAILED / "Authentication or Initialization Failed"

This error tends to be a catch-all for a handful of underlying issues — clock skew between client and server, stale entries in Windows Credential Manager, a corrupted Outlook cache, or genuinely outdated client software that hasn't been updated to support current authentication standards. Clearing old credential entries, verifying system date/time accuracy, and updating the client are the usual starting points before escalating further.

MFA Silently Falling Back to Basic Auth Behavior

A recurring report in hybrid environments: a mailbox works fine with MFA disabled, but as soon as MFA is turned on, the connection drops into a disconnected/"AuthN Error" state — as though the client is quietly attempting a legacy-style authentication that MFA then blocks. This is notoriously inconsistent to pin down and often points to an Outlook build that doesn't fully support the modern auth flow being enforced, rather than a server-side misconfiguration.

App Passwords No Longer Being Accepted

Some organizations enabling MFA for the first time assume an app password is still required for Outlook, the way it historically was for some legacy clients. Outlook 2016 and later support MFA natively through ADAL and don't need an app password at all — entering one where it's not expected, or where the client is already correctly using Modern Auth, tends to produce confusing, inconsistent sign-in failures rather than a clean rejection.

AD FS Sign-In Loops or Generic "Contact Your Administrator" Errors

In federated environments, Modern Authentication with AD FS specifically requires the /adfs/services/trust/13/windowstransport endpoint to be enabled, and forms-based authentication needs to be configured as a fallback. Without it, users (and any service accounts authenticating through the same federation setup) can land in a sign-in loop or hit a generic relying-party error with no further detail.

Tenant-Level Modern Auth Setting vs. Client-Level Behavior Mismatch

It's worth knowing that the Set-OrganizationConfig -OAuth2ClientProfileEnabled setting only governs whether Windows-based Outlook 2013+ clients use Modern Authentication — it has no effect on Outlook Mobile, Outlook for Mac, or other clients, which always use Modern Auth regardless. Troubleshooting a "modern auth isn't working" report without knowing which client is actually involved often leads administrators down the wrong path entirely.

How These Failures Tend to Show Up

  • A mailbox connection that worked the previous day suddenly shows "Disconnected" with no configuration changes made
  • Authentication prompts that loop indefinitely without ever completing sign-in
  • A generic "Authentication or initialization failed" message with the AUTHHEALTHCHECKFAILED code
  • MFA-enabled accounts failing to connect while the same account works fine with MFA temporarily disabled
  • Federated (AD FS) sign-ins failing with a relying-party error referencing the Microsoft Office 365 Identity Platform

How Different Tools and Approaches Handle Modern Authentication

ApproachModern Auth HandlingCommon Pain Point
Legacy or older third-party clients/scriptsMay not fully support ADAL/OAuth 2.0 flows, or only partially implement themCan produce confusing, intermittent failures once MFA or Conditional Access is enforced, since the client wasn't built around modern auth from the start
Native Outlook with mixed-account profilesModern Authentication works correctly per account, but Windows' default credential handling can interfere across multiple accounts in one profile"Disconnected" status is a known, documented issue requiring a profile rebuild rather than a setting change
Federated environments via AD FSModern Authentication requires specific AD FS endpoints and fallback authentication configured correctlyMisconfigured or incomplete AD FS setup produces sign-in loops that are hard to diagnose without checking the AD FS server configuration directly
Migration tools built natively around OAuth/Modern AuthenticationAuthenticate using the same modern, token-based flow regardless of tenant MFA or Conditional Access policyTenant-side policy changes (new Conditional Access rule, password reset) still require re-authentication, but the tool itself isn't the bottleneck

The common denominator: Modern Authentication failures are rarely about the protocol being broken — they're almost always about something on the client, federation, or policy side not lining up with what the tenant now expects.

How EdbMails Handles Modern Authentication

EdbMails Office 365 Migration connects to Microsoft 365 using Modern Authentication and OAuth 2.0 natively, rather than depending on legacy sign-in flows that can run into the kind of MFA conflicts described above. In practice, this means:

  • No reliance on app passwords or legacy auth fallbacks, which removes one of the more common sources of confusing, inconsistent sign-in failures when MFA is enforced.
  • A single, modern authentication flow per connection, rather than the kind of multi-account profile complexity that causes Outlook's well-known "Disconnected" issue.
  • Compatibility with tenant-level MFA and Conditional Access policies without requiring administrators to weaken security settings just to get a migration connection working.
  • Transparent error feedback, so if a Modern Authentication failure does occur — say, from a tenant-side policy change — it's clear that re-authentication is needed rather than leaving the cause ambiguous.

As with any Modern Authentication setup, tenant-side events — a new Conditional Access rule, a password reset, or a federation configuration change — can still require fresh authentication. That's a property of how Microsoft's identity platform works, not something specific to any one migration tool.

Step-by-Step: Troubleshooting a Modern Authentication Failure

  1. Identify exactly which client or service is failing — Outlook desktop, Outlook Mobile, a migration tool, or a federated sign-in each have different things that can go wrong, and tenant-level settings don't affect all of them equally.
  2. Check whether multiple accounts are configured in the same Outlook profile, if the failure is a "Disconnected" status specifically — this is the most common root cause and usually needs a profile rebuild, not a registry change.
  3. Verify the client is current. Older Outlook builds have had specific, documented bugs around modern auth and multi-account handling that were fixed in later releases.
  4. Clear stale credentials from Windows Credential Manager (entries referencing Outlook or Microsoft Office) before re-adding the account.
  5. Confirm system clock accuracy on the client device — authentication tokens are time-sensitive, and clock skew can produce failures that look unrelated to time at all.
  6. For AD FS environments, confirm the required endpoints and forms-based fallback authentication are correctly configured on the federation server.
  7. Don't default to entering an app password unless the specific client genuinely requires one — for Outlook 2016 and later, Modern Authentication should not need one at all.
  8. If the failure coincides with a recent MFA or Conditional Access change, treat the policy change as the likely cause first, rather than assuming the client or tool itself broke.

Best Practices to Avoid Modern Authentication Failures During Migration

  • Keep Outlook and any other client software used during migration on a current, supported build before starting a large project
  • Avoid mixing multiple sign-in accounts in a single Outlook profile where avoidable, particularly across personal and organizational accounts
  • Document any planned MFA or Conditional Access policy changes ahead of a migration window, since these can interrupt authentication mid-project
  • For federated environments, validate AD FS configuration (including forms-based fallback) before relying on it for a migration's authentication path
  • Don't assume an app password is the fix for an MFA-related failure — confirm what the specific client actually requires first

Frequently Asked Questions

  1. Why does my mailbox show "Disconnected" after enabling Modern Authentication?

    This is a known Outlook issue that occurs when more than one mailbox is configured in the same profile and the sign-in accounts don't match the user's primary Windows account. Recreating the Outlook profile is the documented fix.

  2. Do I still need an app password after enabling MFA?

    Not for Outlook 2016 or later — these clients support MFA natively through Modern Authentication. App passwords are typically only needed for older clients or services that don't support modern auth at all.

  3. What does AUTHHEALTHCHECKFAILED mean?

    It's a general authentication/initialization failure code that can stem from several causes — clock skew, stale cached credentials, or an outdated client. It's worth working through each of these systematically rather than assuming one specific cause.

  4. Does EdbMails get affected by MFA or Conditional Access policies during migration?

    EdbMails authenticates through Modern Authentication and works within tenant MFA and Conditional Access policies rather than around them. If a policy change forces re-authentication, that applies to any tool — EdbMails simply doesn't introduce additional authentication friction beyond what the tenant's own policies require.


Additional resources:

  • EdbMails Office 365 Migration Tool
  • Resolve Office 365 Migration Endpoint Authentication Errors
  • OAuth Token Errors During Office 365 Migration
  • Exchange Online Service Limits for Migration
  • Coexistence During Office 365 Migration
lady image

 In this manual

IntroductionAuthentication FailuresHandling AuthenticationTroubleshooting Best PracticesFAQ's

Office 365 Migration

100 Mailboxes $299 Only

Buy Now

Need help?

24/7 Customer support

Contact us on Live chat

Personalized Demo

Book a personalized demo

Still need help?

Email us / Call us

© 2026 Shifttocloud Inc. Privacy Policy | Terms of Use | GDPR | Security | Press Releases

hidden msg
Live Chat

Hi, May I help you?

Hide Chat Now