{"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-08-14T07:09:48","modified_gmt":"2021-08-14T06:09:48","slug":"adding-the-microsoft-teams-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v9-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 Microsoft Teams channel to your bot, you must create a bot in the <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, follow the below steps:<\/p>\n<ul>\n<li><b>Register the Bot<\/b> \u2013 You must create a bot in the 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, 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 it 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 must register a Bot Channel service in Azure and enable a webhook for the platform to receive messages.<br \/>\nYou need an active subscription to Azure services with admin access to subscribe for a new Azure service.<\/p>\n<p><strong>Register a Bot Channel<\/strong><\/p>\n<ol>\n<li>Log in to the <a href=\"https:\/\/dev.botframework.com\/\">Microsoft Bot Framework<\/a> portal.<\/li>\n<li>On the portal menu, click <strong>+ New<\/strong>.<\/li>\n<li>Search and select <strong>Bot Channels Registration<\/strong> from the search window.<\/li>\n<li>Click <strong>Create<\/strong> and proceed to the next screen to enter the details.<\/li>\n<li>Enter all the required details to register the bot channel.<\/li>\n<li>From the Bot Builder platform, copy the <strong>Webhook URL<\/strong> from the <strong>Configurations<\/strong> tab of the Channel page for Microsoft Teams and provide it in the <strong>Messaging Endpoint<\/strong> field.<\/li>\n<\/ol>\n<p><strong>App Association<\/strong><\/p>\n<p>The Bot Channel Regsitration must be associated with a Microsoft App ID and Password. You can choose to go with the default option of <strong>Auto-create App Id and password<\/strong> if you want your bot to be available for multiple tenants or users outside of your Azure domain. You can also choose to create your own App ID and password and define who is eligible to access your bot. 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 <strong>Create<\/strong> to complete the registration.<\/li>\n<li>After successful creation, you are 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 are redirected to the details page of the new resource that you have created.<\/p>\n<ol>\n<li>On the left pane, click <strong>Settings <\/strong>&gt; <strong>Manage<\/strong> next to the <em>Microsoft App ID<\/em> field.<\/li>\n<li>Click <strong>Generate New Password<\/strong>\u00a0to create a new password for your app.<\/li>\n<li>Make a note of the password displayed on the pop-up screen and enter it in the Configurations tab of the MS Team channel enablement page on the bots platform.<\/li>\n<li>Click <strong>Ok<\/strong> to go back to the previous screen.<\/li>\n<li>Make a note of the <strong>App ID<\/strong> and enter in the \u2018Configuration\u2019 tab of the MS Team channel enablement page on the bots platform.<\/li>\n<li>Click the <strong>Save<\/strong>\u00a0option at the end of the page to save your changes.<\/li>\n<\/ol>\n<p><strong>Enable Microsoft Teams Channel<\/strong><\/p>\n<ol>\n<li>On the menu, go to the <strong>Channels<\/strong> and select the <strong>MS Teams<\/strong> channel.<\/li>\n<li>You are redirected to the channel information page. Review the information and click <strong>Save<\/strong> 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 enable Microsoft Teams channel, follow the below steps:<\/p>\n<ol>\n<li>In the <b>Bots<\/b> section of the Bot Builder, click the bot 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 is displayed.<\/li>\n<li>Go to the <strong>Configuration<\/strong> 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\">Note: <em>Web Chat\u00a0<\/em>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<h2><span class=\"ez-toc-section\" id=\"Edit_Microsoft_Teams_Channel\">Edit Microsoft Teams Channel<\/span><\/h2>\n<p>To edit the Microsoft teams channel, follow the below steps:<\/p>\n<ol>\n<li>Hover over the channel and click to modify. Make necessary updates to your channel configurations and save them.<\/li>\n<li>You can also disable or delete the channel information by clicking the <b>Settings<\/b> icon.<br \/>\n<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/21\/edit-MT-c.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14934\" src=\"\/wp-content\/uploads\/sites\/21\/edit-MT-c.png\" alt=\"\" width=\"500\" height=\"182\" \/><\/a><br \/>\nSelect one of the following commands to modify the channel:<\/li>\n<\/ol>\n<ul>\n<li><b>Disable\/Enable<\/b> \u2013 Click <b>Disable<\/b> to temporarily disable the use of the <em>Microsoft Teams<\/em> channel for your bot. To enable the use of the <em>Microsoft Teams<\/em> channel, Click <b>Enable.<\/b><\/li>\n<li><b>Delete<\/b> \u2013 Click <b>Delete<\/b>. On the <b>Delete Confirmation<\/b> dialog box, click <b>OK <\/b>to permanently delete the bot channel configuration.<\/li>\n<\/ul>\n<div class=\"alert alert-warning\">Warning: 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 Microsoft Teams channel to your bot, you must create a bot in the Microsoft Bot Framework account to configure the connection between Microsoft Teams and Kore.ai. To add the Microsoft Teams channel to your bot, follow the below steps: Register the Bot \u2013 You must create a bot in the Microsoft Bot Framework...","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\/v9-0\/wp-json\/wp\/v2\/posts\/17984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/comments?post=17984"}],"version-history":[{"count":11,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/17984\/revisions"}],"predecessor-version":[{"id":30869,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/posts\/17984\/revisions\/30869"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/media?parent=17984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/categories?post=17984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v9-0\/wp-json\/wp\/v2\/tags?post=17984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}