{"id":39263,"date":"2022-03-30T06:23:36","date_gmt":"2022-03-30T05:23:36","guid":{"rendered":"https:\/\/developer.kore.ai\/v10\/?p=39263"},"modified":"2022-03-30T06:23:58","modified_gmt":"2022-03-30T05:23:58","slug":"adding-the-microsoft-teams-channel","status":"publish","type":"post","link":"https:\/\/developer.kore.ai\/v10\/docs\/bots\/channel-enablement\/adding-the-microsoft-teams-channel\/?lang=ja","title":{"rendered":"Microsoft Teams\u30c1\u30e3\u30cd\u30eb\u306e\u8ffd\u52a0"},"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>\u30dc\u30c3\u30c8\u306bMicrosoft Teams\u30c1\u30e3\u30cd\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001<em>Microsoft Bot Framework<\/em>\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30dc\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3001Microsoft Teams\u3068Kore.ai\u9593\u306e\u63a5\u7d9a\u3092\u69cb\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30dc\u30c3\u30c8\u306bMicrosoft Teams\u30c1\u30e3\u30cd\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u5f93\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li><b>\u30dc\u30c3\u30c8\u306e\u767b\u9332<\/b>\u2015\u3059\u3079\u3066\u306e\u30dc\u30c3\u30c8\u306e\u8a73\u7d30\u3092\u8ffd\u52a0\u3057\u3001\u30a2\u30d7\u30eaID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3066\u3001Microsoft Bot Framework\u306b\u30dc\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u81ea\u5206\u306e\u30dc\u30c3\u30c8\u3092\u767b\u9332\u3059\u308b\u306b\u306f\u3001<a href=\"https:\/\/dev.botframework.com\/\">Microsoft Bot Framework<\/a> \u958b\u767a\u8005\u30dd\u30fc\u30bf\u30eb\u3067\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u767b\u9332\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><b>\u30c1\u30e3\u30cd\u30eb\u306e\u6709\u52b9\u5316<\/b>\u2015\u30dc\u30c3\u30c8\u3092\u767b\u9332\u3057\u305f\u5f8c\u3001\u30c1\u30e3\u30cd\u30eb\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/li>\n<li><b>\u30c1\u30e3\u30cd\u30eb\u306e\u516c\u958b<\/b>\u2015\u30c1\u30e3\u30cd\u30eb\u3092\u6709\u52b9\u306b\u3057\u3066\u3059\u3079\u3066\u306e\u69cb\u6210\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30dc\u30c3\u30c8\u3092\u516c\u958b\u3057\u3066\u958b\u767a\u8005\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/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.<\/p>\n<p><strong>Note:<\/strong> You need to select multi tenant option for the Type of App while configuring an Azure bot. Configuration fails if single tenant is selected.<\/p>\n<p>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>Microsoft Teams\u30c1\u30e3\u30cd\u30eb\u3092\u6709\u52b9\u306b\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u5f93\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30dc\u30c3\u30c8\u30d3\u30eb\u30c0\u30fc\u306e<b>\u30dc\u30c3\u30c8<\/b>\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u3001<b>Microsoft Teams<\/b>\u30c1\u30e3\u30cd\u30eb\u3092\u8ffd\u52a0\u3057\u305f\u3044\u30dc\u30c3\u30c8\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li><b>\u30c1\u30e3\u30cd\u30eb\u30bf\u30d6<\/b>\u3067\u3001<b>Microsoft Teams<\/b>\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<b>Microsoft Teams\u306e\u30c1\u30e3\u30cd\u30eb<\/b>\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/li>\n<li>Microsoft Teams\u30c1\u30e3\u30cd\u30eb\u30da\u30fc\u30b8\u306e<strong>\u69cb\u6210<\/strong>\u30bf\u30d6\u306b\u79fb\u52d5\u3057\u3066\u3001\u30a2\u30d7\u30ea\u306e\u69cb\u6210\u3092\u66f4\u65b0\u307e\u305f\u306f\u30ec\u30d3\u30e5\u30fc\u3057\u3001\u30c1\u30e3\u30cd\u30eb\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<div class=\"alert alert-info\">\u30e1\u30e2\uff1a\u30dc\u30c3\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u201cWeb\u30c1\u30e3\u30c3\u30c8\u201d\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/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=\"Microsoft_Teams\">Microsoft Teams\u30c1\u30e3\u30cd\u30eb\u306e\u7de8\u96c6<\/span><\/h2>\n<p>Microsoft Teams\u30c1\u30e3\u30cd\u30eb\u3092\u7de8\u96c6\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u5f93\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u30c1\u30e3\u30cd\u30eb\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u5408\u308f\u305b\u3001\u30af\u30ea\u30c3\u30af\u3057\u3066\u5909\u66f4\u3057\u307e\u3059\u3002\u30c1\u30e3\u30cd\u30eb\u69cb\u6210\u306b\u5fc5\u8981\u306a\u66f4\u65b0\u3092\u884c\u3044\u3001\u305d\u308c\u3089\u3092\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/li>\n<li><b>\u8a2d\u5b9a<\/b>\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30c1\u30e3\u30cd\u30eb\u60c5\u5831\u3092\u7121\u52b9\u306b\u3057\u305f\u308a\u524a\u9664\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<a ref=\"magnificPopup\" href=\"\/wp-content\/uploads\/sites\/30\/edit-MT-c.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-14934\" src=\"\/wp-content\/uploads\/sites\/30\/edit-MT-c.png\" alt=\"\" width=\"500\" height=\"182\" \/><\/a> \u30c1\u30e3\u30cd\u30eb\u3092\u5909\u66f4\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u306e\u3044\u305a\u308c\u304b\u3092\u9078\u629e\u3057\u307e\u3059\uff1a<\/li>\n<\/ol>\n<ul>\n<li><b>\u7121\u52b9\u5316\/\u6709\u52b9\u5316<\/b>\u2015<b>\u7121\u52b9\u5316<\/b>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30dc\u30c3\u30c8\u306e\u201cMicrosoft Teams\u201d\u30c1\u30e3\u30cd\u30eb\u306e\u4f7f\u7528\u3092\u4e00\u6642\u7684\u306b\u7121\u52b9\u306b\u3057\u307e\u3059\u3002\u201cMicrosoft Teams\u201d\u30c1\u30e3\u30cd\u30eb\u306e\u4f7f\u7528\u3092\u6709\u52b9\u306b\u3059\u308b\u306b\u306f\u3001<b>\u6709\u52b9\u5316<\/b>\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<\/li>\n<li><b>\u524a\u9664<\/b>\u2015<b>\u524a\u9664<\/b>\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059\u3002<b>\u524a\u9664\u306e\u78ba\u8a8d<\/b>\u30c0\u30a4\u30a2\u30ed\u30b0\u30dc\u30c3\u30af\u30b9\u3067\u3001<b>OK<\/b>\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u30dc\u30c3\u30c8\u30c1\u30e3\u30cd\u30eb\u69cb\u6210\u3092\u5b8c\u5168\u306b\u524a\u9664\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<div class=\"alert alert-warning\">\u8b66\u544a\uff1a\u3053\u306e\u64cd\u4f5c\u306f\u6c38\u4e45\u7684\u3067\u3001\u5143\u306b\u623b\u3059\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/div>\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<h2><span class=\"ez-toc-section\" id=\"On-premise_Installation_Best_Practices\">On-premise Installation Best Practices<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If your on-premise version of the Kore.ai Platform is set up on AWS or a physical server and if you are using Microsoft Teams on Azure, you should ensure communication is established between the Azure server and Kore.ai Platform server.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Following are the best practices for on-premise installation:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Ensure that you can access the following URLs from the Kore Servers:<\/span>\n<ul>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/login.microsoftonline.com\/botframework.com\">https:<i>\/\/login.microsoftonline.com\/botframework.com<\/i><\/a><\/li>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/api.botframework.com\/.default\">https:<i>\/\/api.botframework.com\/.default<\/i><\/a><\/li>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/login.botframework.com\/v1\/.wellknown\/openidconfiguration\">https:<i>\/\/login.botframework.com\/v1\/.wellknown\/openidconfiguration<\/i><\/a><\/li>\n<li style=\"font-weight: 400;\"><a href=\"https:\/\/api.botframework.com\/\">https:<i>\/\/api.botframework.com<\/i><\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<ul>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Do not expose the Kore platform directly to the public internet and have a load balancer that is integrated with a Web Application Firewall (WAF).<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Expose only the Elastic Load Balancing (ELB)<\/span> <span style=\"font-weight: 400;\">to public internet traffic or through a reverse proxy (Nginx\/Apache) deployed in the Demilitarized Zone <\/span><b>(<\/b><span style=\"font-weight: 400;\">DMZ).<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">The URL pattern <\/span><i><span style=\"font-weight: 400;\">\/hooks\/msbotframework\/<\/span><\/i><span style=\"font-weight: 400;\"> specific to Microsoft Teams, needs to be whitelisted by enabling rules in WAF\/reverse proxy.<\/span><\/li>\n<\/ul>\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":"\u30dc\u30c3\u30c8\u306bMicrosoft Teams\u30c1\u30e3\u30cd\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001Microsoft Bot Framework\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30dc\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u3001Microsoft Teams\u3068Kore.ai\u9593\u306e\u63a5\u7d9a\u3092\u69cb\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30dc\u30c3\u30c8\u306bMicrosoft Teams\u30c1\u30e3\u30cd\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u30b9\u30c6\u30c3\u30d7\u306b\u5f93\u3044\u307e\u3059\u3002 \u30dc\u30c3\u30c8\u306e\u767b\u9332\u2015\u3059\u3079\u3066\u306e\u30dc\u30c3\u30c8\u306e\u8a73\u7d30\u3092\u8ffd\u52a0\u3057\u3001\u30a2\u30d7\u30eaID\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3066\u3001Microsoft Bot Framework\u306b\u30dc\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u81ea\u5206\u306e\u30dc\u30c3\u30c8\u3092\u767b\u9332\u3059\u308b\u306b\u306f\u3001Microsoft Bot Framework \u958b\u767a\u8005\u30dd\u30fc\u30bf\u30eb\u3067\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3066\u767b\u9332\u3057\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 \u30c1\u30e3\u30cd\u30eb\u306e\u6709\u52b9\u5316\u2015\u30dc\u30c3\u30c8\u3092\u767b\u9332\u3057\u305f\u5f8c\u3001\u30c1\u30e3\u30cd\u30eb\u3092\u6709\u52b9\u306b\u3057\u307e\u3059\u3002 \u30c1\u30e3\u30cd\u30eb\u306e\u516c\u958b\u2015\u30c1\u30e3\u30cd\u30eb\u3092\u6709\u52b9\u306b\u3057\u3066\u3059\u3079\u3066\u306e\u69cb\u6210\u3092\u78ba\u8a8d\u3057\u305f\u3089\u3001\u5fc5\u8981\u306b\u5fdc\u3058\u3066\u30dc\u30c3\u30c8\u3092\u516c\u958b\u3057\u3066\u958b\u767a\u8005\u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 Register the Bot with Microsoft Teams channel 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. You need an active subscription to Azure...","protected":false},"author":22,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"class_list":["post-39263","post","type-post","status-publish","format-standard","hentry","category-channel-enablement"],"_links":{"self":[{"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/posts\/39263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/users\/22"}],"replies":[{"embeddable":true,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/comments?post=39263"}],"version-history":[{"count":1,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/posts\/39263\/revisions"}],"predecessor-version":[{"id":39264,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/posts\/39263\/revisions\/39264"}],"wp:attachment":[{"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/media?parent=39263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/categories?post=39263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/developer.kore.ai\/v10\/wp-json\/wp\/v2\/tags?post=39263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}