Really easy fix, but the errors really don’t make it sound like this could be your problem. $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 Click the Sign In button again to complete the sign in. Check the Save my password box to autosave your sign in info, or leave the box unchecked if you don't want to save it. $accessToken = Get-CsOnlinePowerShellAccessToken ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sign in and out of Skype for Business to choose how you want to be visible to your contacts. 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 Most instructions give you a pretty simple way to connect to Skype for Business Online (or they’ll just call it Skype for Business). 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 “” Run the following commands in PowerShell: Download and install the module from Microsoft.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |