Pages Menu
TwitterRssFacebook

Posted by on Oct 3, 2017 in Bot Framework, Skype for Business® (Lync®) | 0 comments

Microsoft Bot Framework Bots now work in Skype for Business Hybrid

Microsoft Bot Framework Bots now work in Skype for Business Hybrid

There’s been an update in functionality to the Skype for Business Channel in Microsoft Bot Framework, which I previously wrote about in May. At that time, the channel only worked with Skype for Business Online environments.

The same channel will now additionally work with Skype for Business Hybrid environments.

The setup steps start out the same:

  • Build your bot in Bot Framework and test
  • Add the Skype for Business channel
  • Follow the online instructions to run New-CsOnlineApplicationEndpoint

For Hybrid customers, there is an additional step, which is to run a on-premise command to register the application endpoint locally:

New-CsHybridApplicationEndpoint

This is a new PowerShell cmdlet, which was released in Skype for Business Skype for Business Server Cumulative Update 5  (so you’ll need to make sure you have that installed)

New-CsHybridApplicationEndpoint -ApplicationId <AppID generated from Bot Framework Portal like 41ec7d50-ba91-120873ee-136b88859725> -DisplayName <NameOfTheBot> -SipAddress sip:<[email protected]> –OU <ou=Redmond,dc=litwareinc,dc=com>

The ApplicationId, DisplayName and SipAddress parameters are the same as for New-CsOnlineApplicationEndpoint, and the values should match what you used for that command. The -OU parameter is the Azure Directory Organizational Unit (OU) of the user.

Note that you run this new cmdlet as well as the New-CsOnlineApplicationEndpoint cmdlet, not instead of!

 

In order for the object you created locally to be synced up with the object created in Azure you need to wait for your next Azure Active Directory sync cycle, or use Start-ADSyncSyncCycle .

More information is provided in a newly published MSDN article: Skype for Business Bot – Hybrid environment support.

Post a Reply

Your email address will not be published. Required fields are marked *

This site uses cookies to help make this website better. By continuing to use this site we’ll assume you’re OK with that (implied consent).