{"id":17984,"date":"2017-03-24T14:41:00","date_gmt":"2017-03-24T14:41:00","guid":{"rendered":"https:\/\/developer.kore.com\/?post_type=docs&#038;p=10586"},"modified":"2021-03-26T05:38:55","modified_gmt":"2021-03-26T05:38:55","slug":"adding-the-microsoft-teams-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v8-0\/docs\/bots\/channel-enablement\/adding-the-microsoft-teams-channel\/","title":{"rendered":"Adding the Microsoft Teams Channel"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row type_default valign_top\"><div class=\"vc_col-sm-12 wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_wrapper\">\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>To add the Microsoft Teams channel to your Bot, you will need to create a Bot in <em>Microsoft Bot Framework <\/em>account to configure the connection between Microsoft Teams and Kore.ai. To add the Microsoft Teams channel to your Bot, you will need to:<\/p>\n<ul>\n<li><b>Register the Bot<\/b> \u2013 You will need to create a Bot in Microsoft Bot Framework by adding all the Bot details and creating the App ID and Password. To register the Bot, you must have created and registered for a free account in the <a href=\"https:\/\/dev.botframework.com\/\">Microsoft Bot Framework<\/a> developer portal.<\/li>\n<li><b>Enable Channel<\/b> \u2013 After registering the Bot, you need to enable the channel.<\/li>\n<li><b>Publish Channel<\/b> \u2013 After the channel is enabled and all configurations are verified, you can optionally publish the Bot to make the Bot available for developers.<\/li>\n<\/ul>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p><strong>Register the Bot<\/strong> with Microsoft Teams channel<\/p>\n<p>To set up Microsoft Teams as a channel, you need to register a Bot Channel service in Azure and enable a webhook for the platform to receive messages.<br \/>\nYou would need an active subscription to Azure services with admin access to subscribe for a new Aure service<\/p>\n<p><strong>Register a Bot Channel<\/strong><\/p>\n<ol>\n<li>Login to <a href=\"https:\/\/dev.botframework.com\/\">Microsoft Bot Framework<\/a> portal<b>.<\/b><\/li>\n<li>Click on \u2018+ Create a resource\u2019 from the portal menu.<\/li>\n<li>Search and select \u2018Bot Channels Registration\u2019 from the search window.<\/li>\n<li>Click on the \u2018Create\u2019 button and proceed to the next screen to enter the details.<\/li>\n<li>Enter all the required details for registering the bot channel.<\/li>\n<li>From the Bot Builder platform, copy the \u2018Webhook URL\u2019 from the \u2018Configurations\u2019 tab of Channel page for Microsoft Teams and provide it in the \u2018Messaging endpoint\u2019 field<\/li>\n<\/ol>\n<p><strong>App Association<\/strong><\/p>\n<p>The Bot Channel Regsitration should be associated with a Microsoft App ID and Password. You may choose to go with the default option of \u2018Auto-create App Id and password\u2019 if you would like your bot to available for multiple tenants or users outside of your Azure domain. You may also choose to create your own App ID and password and define who would be eligible to access your bot. Please follow the instructions available <a href=\"https:\/\/docs.microsoft.com\/en-gb\/azure\/bot-service\/bot-service-resources-bot-framework-faq?view=azure-bot-service-4.0#app-registration\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> for more details.<\/p>\n<ol>\n<li>Click on \u2018Create\u2019 to complete the registration.<\/li>\n<li>Post successful creation, you would be redirected to the Dashboard of your Azure account.<\/li>\n<\/ol>\n<p><strong>Configure App Id and Password<\/strong><\/p>\n<p>From your Azure Dashboard, select the resource that you have created in the previous steps. You would be redirected to the details page of the new resource that you have created.<\/p>\n<ol>\n<li>Click on the \u2018Settings\u2019 option from the left menu and then click on the \u2018Manage\u2019 option next to the \u2018Microsoft App ID\u2019 field.<\/li>\n<li>You would now be navigated to the \u2018Certificates and secrets\u2019 section.<\/li>\n<li>Click on the \u2018+ New client secret\u2019 option, provide the necessary details, and click on the \u2018Add\u2019 option to create a new client secret.<\/li>\n<li>Copy the \u2018Value\u2019 of the new client secret and provide it in the \u2018App Password\u2019 field present in the Configurations tab of this window.<\/li>\n<li>Close the \u2018Certificates and secrets\u2019 section to return the \u2018Settings\u2019 section.<\/li>\n<li>Make a note of the \u2018App Id\u2019 present in the \u2019Settings\u2019 page and enter in the \u2018Configuration\u2019 tab of this window.<\/li>\n<li>Click on the \u2018Save\u2019 option to save your changes.<\/li>\n<\/ol>\n<p><strong>Enable Microsoft Teams Channel<\/strong><\/p>\n<ol>\n<li>Proceed to the \u2018Channels\u2019 option from the menu and select the \u2018MS Teams\u2019 channel.<\/li>\n<li>You will be redirected to the channel information page. Review the information and click on the \u2018Save\u2019 option to complete the channel setup.<\/li>\n<\/ol>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<p>To <strong>Enable Microsoft Teams channel<\/strong><\/p>\n<ol>\n<li>In the <b>Bots<\/b> section of the <b>Bot Builder<\/b>, click the Bot that you want to add the <b>Microsoft Teams<\/b> channel to.<\/li>\n<li>On the <b>Channels tab<\/b>, click the<b> Microsoft Teams<\/b> icon. The <b>Microsoft Teams channel<\/b> page gets displayed.<\/li>\n<li>Navigate to the Configuration tab of the Microsoft Teams channel page to update or review the app configurations and enable the channel.<\/li>\n<\/ol>\n<div class=\"alert alert-info\"><b>Note: &#8220;Web Chat&#8221;<\/b> option of Bot Framework is not supported.<\/div>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div>\r\n\t<div class=\"wpb_text_column \">\r\n\t\t<div class=\"wpb_wrapper\">\r\n\t\t\t<h1><span class=\"ez-toc-section\" id=\"Editing_the_Microsoft_Teams_Channel\">Editing the Microsoft Teams Channel<\/span><\/h1>\n<p>To edit the Microsoft teams channel, hover your mouse over the channel and click to modify. You can make necessary updates to your channel configurations and save them. You may also disable or delete the channel information by clicking the <b>Settings<\/b> icon.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/16\/edit-MT-c.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14934\" src=\"\/wp-content\/uploads\/sites\/16\/edit-MT-c.png\" alt=\"\" width=\"500\" height=\"182\" \/><\/a><br \/>\nSelect one of the following commands to modify the channel:<\/p>\n<ul>\n<li><b>Disable\/Enable<\/b> \u2013 Click <b>Disable<\/b> to temporarily disable use of the Microsoft teams channel for your Bot.To enable use of the Microsoft teams channel, Click <b>Enable.<\/b><\/li>\n<li><b>Delete<\/b> \u2013 Click <b>Delete<\/b>, and then click <b>OK<\/b> in the <b>Delete Confirmation<\/b> dialog to permanently delete the Bot channel configuration.<\/li>\n<\/ul>\n<div class=\"alert alert-warning\"><b>Warning:<\/b> This operation is permanent, and cannot be undone.<\/div>\n\r\n\t\t<\/div>\r\n\t<\/div>\r\n<div class=\"w-separator size_medium with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"To add the Microsoft Teams channel to your Bot, you will need to create a Bot in Microsoft Bot Framework account to configure the connection between Microsoft Teams and Kore.ai. To add the Microsoft Teams channel to your Bot, you will need to: Register the Bot \u2013 You will need to create a Bot in...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-17984","post","type-post","status-publish","format-standard","hentry","category-channel-enablement"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/17984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/comments?post=17984"}],"version-history":[{"count":6,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/17984\/revisions"}],"predecessor-version":[{"id":24912,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/posts\/17984\/revisions\/24912"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/media?parent=17984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/categories?post=17984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v8-0\/wp-json\/wp\/v2\/tags?post=17984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}