1
votes

I am unable to connect my bot to Skype For Business (SFB) Online. I have followed below URL for the same -

https://msdn.microsoft.com/en-us/skype/Skype-For-Business-Bot-Framework/docs/overview

I am the global administrator of my Office 365 account and have the privileges to connect the bot to SFB Online. It has been more than 8 hours the bot has been registered.

The first command (Import-PSSession) works fine. The second command (New-CsOnlineApplicationEndpoint) gives below error - Cmdlet invocation error + CategoryInfo : NotSpecified: (:) [New-CsOnlineApplicationEndpoint], CmdletInvocationException + FullyQualifiedErrorId : Error processing cmdlet request,Microsoft.Rtc.Management.Hosted.PlatformService.NewPlatformServiceAppEndpointConfigCmdlet + PSComputerName : adminin1.online.lync.com

Thanks in advance.

1
Please provide the part of your code where the exception has thrown...Bob Swager
Hi Bob, thank you for your reply. The problem is not with the bot code; but it is while registering the bot to Skype For Business Online tenant. The powershell command that is giving the above pasted error is : New-CsOnlineApplicationEndpoint 41ec7d50-ba91-1208-73ee-136b88859725 -Name NameOfTheBot -Uri sip:[email protected]zee
I'm not sure what you are trying to do.Bob Swager

1 Answers

2
votes

Was your -Uri end with .com? I've got similar error when I tried -Uri sip:username@domainnotendwithdotcom but when I changed it to use the alias name that end with onmicrosoft.com then the command work fine.