$sfboSession = New-CsOnlineSession -UserName " " -OverrideAdminDomain “” There’s a huge amount of potential fixes offered, but for me it was one simple switch, which I found thanks to – use the -OverrideAdminDomain switch. + FullyQualifiedErrorId : System.AggregateException.GetPowerShellAccessTo + CategoryInfo : NotSpecified: (:), AggregateException Online\Modules\SkypeOnlineConnector\SkypeOnlineConnectorStartup.psm1:214 char:28 Or, you might get this error if you managed to get the interactive logon to pop up first and then entered your credentials there: Get-CsOnlinePowerShellAccessToken : One or more errors occurred. + FullyQualifiedErrorId : Unable to discover PowerShell endpoint URI. + CategoryInfo : OperationStopped: (Unable to disco.l endpoint URI.:String), RuntimeException + throw $resources.DiscoveringEndpointFail
Online\Modules\SkypeOnlineConnector\SkypeOnlineConnectorStartup.psm1:155 char:9 If you DO have it and set up hybrid, you’ll probably get this error: Unable to discover PowerShell endpoint URI.Īt C:\Program Files\Common Files\Skype for Business If you don’t have Skype for Business On-Premises, it should just work. $sfboSession = New-CsOnlineSession -UserName " "
You install the module via executable, downloaded from Microsoft, and then try to run the following PowerShell commands (or some similar variation): Import-Module SkypeOnlineConnector Once DirSync has replicated the user, assign the necessary O365 licensing and create a mailbox. Enable the user for Lync, using the email address as the SIP address. Most instructions give you a pretty simple way to connect to Skype for Business Online (or they’ll just call it Skype for Business). Associate an email address ' .uk ' with the user in readiness for DirSync & Exchange Online. I’ve been caught out by this twice and it’s taken me a while to find the rather simple answer. Import-PSSession $sfboSession Applies To : Windows 10, Windows Server $sfboSession = New-CsOnlineSession -UserName “ ” -OverrideAdminDomain “” To work around this, connect through the mobile carrier's data connection instead of Wi-Fi. If the Wi-Fi connection that's used requires authentication before connecting, Skype for Business may not connect because it can't use the credentials to connect through a proxy. Run the following commands in PowerShell: Connecting over Wi-Fi through an authenticating proxy.