title: Unable to connect bot to Skype For Business Online
body: <p>I am unable to connect my bot to Skype For Business (SFB) Online. I have followed below URL for the same - </p>
  
  <p><a href="https://msdn.microsoft.com/en-us/skype/Skype-For-Business-Bot-Framework/docs/overview" rel="nofollow noreferrer">https://msdn.microsoft.com/en-us/skype/Skype-For-Business-Bot-Framework/docs/overview</a></p>
  
  <p>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.</p>
  
  <p>The first command (Import-PSSession) works fine. 
  The second command (New-CsOnlineApplicationEndpoint) gives below error - 
  <strong>Cmdlet invocation error
      + CategoryInfo          : NotSpecified: (:) [New-CsOnlineApplicationEndpoint], CmdletInvocationException
      + FullyQualifiedErrorId : Error processing cmdlet request,Microsoft.Rtc.Management.Hosted.PlatformService.NewPlatformServiceAppEndpointConfigCmdlet
      + PSComputerName        : adminin1.online.lync.com</strong></p>
  
  <p>Thanks in advance. </p>