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)”


Resolution:

  • Added my IP in the conditional Access.


  • Install Skype for business PowerShell from this link.

    https://www.microsoft.com/en-us/download/details.aspx?id=39366

  • Connect to Skype for Business using PowerShell

    $sfboSession = New-CsOnlineSession -UserName
    yourloginid@domain.com


  • 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

    Get-CsOAuthConfiguration


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

Prabhat Nigam
CEO @ LAEXUG Foundation | CTO @ Golden Five Consulting | https://www.linkedin.com/in/prabhat-nigam/


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 MSExchangeGuru.com, 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 PN@GoldenFive.net.

Leave Comment

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