unable to connect SFB powershell online module RRS feed

  • Question

  • Hi Experts

    I am using MFA for office365, could you please help me with the syntax to connect to SFB online powershell module.

    i have installed onlinepowershell module module but i am getting below error

    PS C:\Users\user1.mydomain>Import-Module SkypeOnlineConnector

    PS C:\Users\user1.mydomain> $sfbSession = New-CsOnlineSession
    Please enter the user principal name (ex. User@Domain.Com): adminacct@mydomain.com
    Unable to discover PowerShell endpoint URI
    At C:\Program Files\Common Files\Skype for Business
    Online\Modules\SkypeOnlineConnector\SkypeOnlineConnectorStartup.psm1:114 char:9
    + throw $resources.DiscoveringEndpointFail
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OperationStopped: (Unable to disco...ll endpoint URI:String) [], RuntimeException
    + FullyQualifiedErrorId : Unable to discover PowerShell endpoint URI

    Thursday, December 13, 2018 10:28 AM