{"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-30T13:07:34","modified_gmt":"2021-03-30T12:07:34","slug":"adding-the-microsoft-teams-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v7-1\/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<p>To add Microsoft Teams channel<\/p>\n<ol>\n<li style=\"list-style-type: none\">\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>To enable this bot on Microsoft Teams, you need to register it with Microsoft Bot Framework. Login to <a href=\"https:\/\/dev.botframework.com\/\">Microsoft Bot Framework<\/a> portal and navigate to My Bots section and click on <b>Create a bot.<\/b><\/li>\n<li>On the subsequent page, go to <b>Bot Channels Registration<\/b> in the Bot Service panel and click <b>Create<\/b> to set up the Bot profile.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/bot-profile-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14927\" src=\"\/wp-content\/uploads\/sites\/12\/bot-profile-3.png\" alt=\"\" width=\"500\" height=\"280\" \/><\/a><\/li>\n<li>Enter all the relevant details for Bot profile. Copy the <b>Webhook URL<\/b> from the Configuration tab of the Microsoft Teams channel page and enter it in the <b>Messaging endpoint <\/b>field on the Bot profile page.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/app-id-and-password.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14928\" src=\"\/wp-content\/uploads\/sites\/12\/app-id-and-password.png\" alt=\"\" width=\"500\" height=\"278\" \/><\/a><\/li>\n<li>While on the Bot Profile page, click on <b>Create Microsoft App ID and password<\/b>. A new Microsoft App ID will be auto-assigned and displayed.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/generate-app-password.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14929\" src=\"\/wp-content\/uploads\/sites\/12\/generate-app-password.png\" alt=\"\" width=\"500\" height=\"158\" \/><\/a><\/li>\n<li>Now click on <b>Generate an app password<\/b> <b>to continue<\/b>. Make a note of the password generated and enter it in the Configurations tab of the Microsoft Teams channel window. Click <b>Ok<\/b> to go back to the previous screen. Make a note of the <b>App ID<\/b> and enter in the <b>Configuration<\/b> tab of the channel page.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/password.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14930\" src=\"\/wp-content\/uploads\/sites\/12\/password.png\" alt=\"\" width=\"500\" height=\"164\" \/><\/a><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<div class=\"alert alert-info\"><b> Note:<\/b> The only time the full password is displayed is when it is generated and displayed in the Generate Password dialog. Copy and save the password to a secure location until added to the Microsoft Teams Channel page in Bot Builder<\/div>\n<ol>\n<li>Click on <b>Finish and go back to Bot Framework<\/b> to return to the previous screen. Click <b>Register<\/b> to complete the App creation.<\/li>\n<li>After creation of the app, you would be redirected to <b>Connect to channels<\/b> page. Bot Framework enables Microsoft Teams channel by default. Click on <b>Microsoft Teams Channe<\/b>l icon in the Add a Featured channel section.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/connnect-to-channels-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14932\" src=\"\/wp-content\/uploads\/sites\/12\/connnect-to-channels-1.png\" alt=\"\" width=\"500\" height=\"224\" \/><\/a><\/li>\n<li>A confirmation screen will be opened to inform that the bot is now enabled for Microsoft Teams channel.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/12\/configured-slide-last.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14933\" src=\"\/wp-content\/uploads\/sites\/12\/configured-slide-last.png\" alt=\"\" width=\"500\" height=\"245\" \/><\/a><\/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<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\/12\/edit-MT-c.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14934\" src=\"\/wp-content\/uploads\/sites\/12\/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\/v7-1\/wp-json\/wp\/v2\/posts\/17984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/comments?post=17984"}],"version-history":[{"count":3,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/17984\/revisions"}],"predecessor-version":[{"id":23244,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/posts\/17984\/revisions\/23244"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/media?parent=17984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/categories?post=17984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v7-1\/wp-json\/wp\/v2\/tags?post=17984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}