Azure AD Connect Sync Issue: Showing a modal dialog box…

Background:
Today I run into an issue after doing some changes to a Conditional Access policy. More precisely I changed the MFA-settings.

Issue:
“Azure AD Connect” was unable to sync and “Synchronization Service” showed no warnings or errors.
PowerShell gave below error message and the “Showing modal dialog box” indicated that this issue was related to MFA.

Solution:
As I knew that I recently had done some changes to the Conditional Access policy the first thing I did was to fetch the account used to run AAD Sync.

  1. Open “Synchronization Service” on the Azure AD Connect server
  2. Click “Connectors”.
  3. Double-click the cloud connector (the one with *onmicrosoft.com in the name).
  4. Click “Connectivity”.
  5. Copy the “UserName” (see print screen below).
  6. Add the user name from step 5 as an excluded account from the Conditional Access that forces MFA.

By excluding the sync account from the Conditional Access policy the MFA challenge is not mandatory for this specific account (do not apply this to all accounts). 😉

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.