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/


Leave Comment

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