Office 365: Unable to Login to SFB after Enabling MFA

After more than a week of pushing MFA my skype for business stopped working.

I got a strange error

The user name, password, or domain appears to be incorrect. Ensure that you entered them correctly. If the problem continues, please contact your support team.

Further investigated in Azure AD. Failure reason “User did not pass the MFA challenge (non interactive)”


  • Added my IP in the conditional Access.

  • Install Skype for business PowerShell from this link.

  • Connect to Skype for Business using PowerShell

    $sfboSession = New-CsOnlineSession -UserName

  • You need to start the Windows Remote Management service.

  • Login using Microsoft modern auth will open, login there.
  • Run the following command
    Import-PSSession $sfboSession

  • Enable modern authentication for Skype for Business Online

    Set-CsOAuthConfiguration -ClientAdalAuthOverride Allowed

  • Verify by running the following command


  • Now wait for some time. Microsoft suggest to wait from 1 hour to 24 hours.

Prabhat Nigam
CEO @ LAEXUG Foundation | CTO @ Golden Five Consulting |

CTO @ Golden Five | CEO at LAExUG Foundation

Prabhat is 3 times Microsoft MVP Award winner. He is MBA in Information Technology and he is working as a CTO at Golden Five Consulting which is a Microsoft Gold Partner, MSP, T1CSP, and Education partner. He helps in designing, implementing, managing and supporting solutions for private messaging cloud, mergers, a collaboration between different messaging software and other migration & deployment projects for the following technologies Office 365, Azure, AWS, Exchange, SQL, ADFS, MFA, FIM, MIM and Directory services. He has worked for all big IT giants either as an employee or contractor where he has led the Global teams. He has started his career as Technical Consultant in Exchange 5.5 with Microsoft PSS and his exchange love never stopped & continued with 2000/2003/2007/2010/2013/2016/2019/O365. At one point in time, he was the only person to support EDS customers when Microsoft had closed all the supports for 5.5 and now for all old legacy Exchange versions.
He used to blog at, manages multiple LinkedIn and Facebook Groups. He also Owns MSExchnageGuru YouTube channel where he uploads all his records technical sessions. Don’t forget to check his PowerShell scripts which are making admins life easier. Prabhat can be reached at

Leave Comment

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