{"id":281,"date":"2022-01-18T10:52:44","date_gmt":"2022-01-18T10:52:44","guid":{"rendered":"https:\/\/blog.citrus-lime.com\/crmc\/?p=281"},"modified":"2022-01-18T10:52:44","modified_gmt":"2022-01-18T10:52:44","slug":"how-to-set-up-a-microsoft-teams-site-using-docdrive365","status":"publish","type":"post","link":"https:\/\/blog.citrus-lime.com\/crmc\/how-to-set-up-a-microsoft-teams-site-using-docdrive365\/","title":{"rendered":"How to Set Up a Microsoft Teams Site Using DocDrive365"},"content":{"rendered":"\n<p>Within SharePoint Online we can create modern Team sites, and these can be integrated into Microsoft Teams to support multiple channels of collaboration in Teams.<\/p>\n\n\n\n<p>This can be driven from Dynamics 365 using&nbsp;<a href=\"https:\/\/www.crmcs.co.uk\/docdrive365\/\" target=\"_blank\" rel=\"noreferrer noopener\">DocDrive365<\/a>&nbsp;\u2013 so that each record in Dynamics results in a New Team, or contributes to an Existing Team.<\/p>\n\n\n\n<p><strong>Please Note: The following steps aim to show how this can be configured, taking a Custom Entity in Dynamics (Engagement) and showing how the configuration to create a new Team for each Engagement record.<\/strong><\/p>\n\n\n\n<p><strong>STEP 1 \u2013 Open the&nbsp;<a href=\"https:\/\/www.crmcs.co.uk\/docdrive365\/\" target=\"_blank\" rel=\"noreferrer noopener\">DocDrive365<\/a>&nbsp;entity definition<\/strong><\/p>\n\n\n\n<p>We can use the&nbsp;<a href=\"https:\/\/www.crmcs.co.uk\/docdrive365\/\" target=\"_blank\" rel=\"noreferrer noopener\">DocDrive365<\/a>&nbsp;App to browse the list of Dynamics Entities that we have configured to work with SharePoint, and open the Entity that we want to synchronise with MS Teams:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Engagement_Entity_77068731.png\"><img decoding=\"async\" src=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Engagement_Entity_thumb_0646711C.png\" alt=\"Engagement_Entity\" title=\"Engagement_Entity\" \/><\/a><\/figure>\n\n\n\n<p><strong>STEP 2 \u2013 Add a record rule to specify a new Microsoft Team site for each record<\/strong><\/p>\n\n\n\n<p>We look at the&nbsp;DS4 \u2013 Record Rule&nbsp;for what SharePoint concept should be created for a new Record of this Entity.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Team_Site_per_Engagement_6725E4EC.png\"><img decoding=\"async\" src=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Team_Site_per_Engagement_thumb_00B5242D.png\" alt=\"Team_Site_per_Engagement\" title=\"Team_Site_per_Engagement\" \/><\/a><\/figure>\n\n\n\n<p>In this case, we want to set this Rule to a modern SharePoint site \u2013 this instructs&nbsp;<a href=\"https:\/\/www.crmcs.co.uk\/docdrive365\/\" target=\"_blank\" rel=\"noreferrer noopener\">DocDrive365<\/a>&nbsp;to create a New Modern Teams Site for each Engagement added to CRM.<\/p>\n\n\n\n<p>The usual&nbsp;<a href=\"https:\/\/www.crmcs.co.uk\/docdrive365\/\" target=\"_blank\" rel=\"noreferrer noopener\">DocDrive365<\/a>&nbsp;configuration works for us here in basing the Name of the MS Teams Site from a Field in CRM, or giving a Fixed Name if we want multiple records in Dynamics to use the same Team Site.<\/p>\n\n\n\n<p><strong>STEP 3 \u2013 Check the site rule<\/strong><\/p>\n\n\n\n<p>We need to make sure that we have a&nbsp;DS1 \u2013 Site Rule&nbsp;that connects up to (typically the root of) a Site Collection that we will use to create new Modern Teams Sites.<\/p>\n\n\n\n<p>With these rules in place, we can then create a new Engagement Record to result in a New Modern Teams Site in SharePoint.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Engagement_in_CRM_1FFA5BB1.png\"><img decoding=\"async\" src=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Engagement_in_CRM_thumb_5A0BB941.png\" alt=\"Engagement_in_CRM\" title=\"Engagement_in_CRM\" \/><\/a><\/figure>\n\n\n\n<p>This will then create a New Teams Site for:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Teams_Site_078F69B6.png\"><img decoding=\"async\" src=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Teams_Site_thumb_4929A602.png\" alt=\"Teams_Site\" title=\"Teams_Site\" \/><\/a><\/figure>\n\n\n\n<p>Which can (either manually or automatically) appear in Microsoft Teams<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Teams_3D93E8C3.png\"><img decoding=\"async\" src=\"https:\/\/license.citruslime.com\/cs\/blogs\/crmcs\/Teams_thumb_31FE2B84.png\" alt=\"Teams\" title=\"Teams\" \/><\/a><\/figure>\n\n\n\n<p>This gives a basic example of how to integrate Dynamics with Microsoft Teams \u2013 using the example where we may want each new Engagement to be reflected as a new Team for collaboration.<\/p>\n\n\n\n<p><strong>In future articles, we will look at practical examples of hooking elements of Dynamics into Teams and how we can put Teams to use.<\/strong><strong><\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Having multiple records in Dynamics connected to same Microsoft Team \u2013 using the example of having each Support Case connected to one central Team for that Client<\/strong><\/li><li><strong>Building an Activity Feed into the Teams Site based on updates in Dynamics \u2013 so each Case or Opportunity contributes to the Chat Feed in the Team<\/strong><\/li><li><strong>Synchronizing Security \/ Team Membership from Dynamics to the Team<\/strong><\/li><\/ul>\n\n\n\n<p><strong>This allows to take the core Document Management concepts of using Dynamics and SharePoint together, and apply these to Collaboration in Teams.<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator\" \/>\n\n\n\n<p><strong>Further Reading:&nbsp;<a href=\"https:\/\/www.crmcs.co.uk\/docdrive365\/docdrive365-articles\/content\/introducing-docdrive365.aspx\" target=\"_blank\" rel=\"noreferrer noopener\">From the beginning, learn more about DocDrive365 &gt;&gt;<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Within SharePoint Online we can create modern Team sites, and these can be integrated into Microsoft Teams to support multiple channels of collaboration in Teams. This can be driven from Dynamics 365 using&nbsp;DocDrive365&nbsp;\u2013 so that each record in Dynamics results in a New Team, or contributes to an Existing Team. Please Note: The following steps<\/p>\n","protected":false},"author":43,"featured_media":88,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"footnotes":""},"categories":[4],"tags":[],"class_list":{"0":"post-281","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-docdrive365"},"featured_image_src":"https:\/\/blog.citrus-lime.com\/crmc\/wp-content\/uploads\/sites\/30\/2021\/12\/DocDriveSiteimageclouds-scaled.jpg","author_info":{"display_name":"jadesmith","author_link":"https:\/\/blog.citrus-lime.com\/crmc\/author\/jadesmith\/"},"_links":{"self":[{"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/posts\/281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/comments?post=281"}],"version-history":[{"count":1,"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/posts\/281\/revisions"}],"predecessor-version":[{"id":282,"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/posts\/281\/revisions\/282"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/media\/88"}],"wp:attachment":[{"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/media?parent=281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/categories?post=281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.citrus-lime.com\/crmc\/wp-json\/wp\/v2\/tags?post=281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}