将Skype for Business与ChatBot连接

时间:2019-02-22 09:26:27

标签: powershell botframework chatbot skype-for-business skype-bots

我正在尝试在Skype上部署Bot并遇到此错误, 有人可以建议相同的解决方案吗?

PS C:\WINDOWS\system32> $TenentAdminDomainId = Read-Host -Prompt 'Input your domain id in <user>@<domain>.com'
Input your domain id in <user>@<domain>.com: test2@botwork.onmicrosoft.com
PS C:\WINDOWS\system32> New-CsOnlineApplicationEndpoint -ApplicationId fc1d28c4-7ff2-41dd-9a1b-a5652949d051 -Name TestBotAP -Uri sip:$TenentAdminDomainId
Cmdlet invocation error
    + CategoryInfo          : NotSpecified: (:) [New-CsOnlineApplicationEndpoint], CmdletInvocationException
    + FullyQualifiedErrorId : Error processing cmdlet request,Microsoft.Rtc.Management.Hosted.PlatformService.NewPlatformServiceAppEndpointConfigCmdlet
    + PSComputerName        : adminin1.online.lync.com

Could not find the application endpoint
    + CategoryInfo          : InvalidOperation: (Microsoft.Rtc.M...cation endpoint:PlatformServiceCmdletException) [New-CsOnlineApplicationEndpoint], PlatformServiceException
    + FullyQualifiedErrorId : Could not get application endpoint or the Uri is already present as an User in BVD,Microsoft.Rtc.Management.Hosted.PlatformService.NewPlatformServiceAppEndpointConfigCmdlet
    + PSComputerName        : adminin1.online.lync.com

1 个答案:

答案 0 :(得分:0)

来自https://docs.microsoft.com/en-us/skype-sdk/skype-for-business-bot-framework/docs/bot-common-errors

  

FullyQualifiedErrorId:无法获取应用程序终结点或Uri   已作为BVD中的用户出现

     

在租户中使用相同的sipuri删除现有用户帐户,或者   使用尚不存在的sipuri运行cmdlet   租户。