Skype for Business Online PowerShell with Multi Factor Authentication

Howdy Folks,

I’ve recently had a customer enable Multi Factor Authentication for all admin roles within the Microsoft Office 365 Tenant.  This causes problems when you need to do any PowerShell activities, such as submitting customized number normalization which need to be completed in the Skype for Business Online PowerShell.


To connect up, you will need the latest Skype for Business Online management shell.  At the time of writing this was released in 19th of April 2017 –   – version 7.0.1045.0 or later.


Once this is installed you will need to launch the Windows PowerShell

The Shell we will use is as follows:


#Create a Skype for Business Online session
$sfboSession = New-CsOnlineSession -UserName $acctName

#Import the Skype for Business session
Import-PSSession $sfboSession



You will then be prompted for your password:




You will need to authenticate with your Multi Factor Method.


Once you import the PS Session you will then have the Skype for Business Online PowerShell commandlets which you are a custom to.



I hope this helps with your Multi Factor Authentication Customers.


Be sure to share, like, and ask any questions you may have.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.