How to Set Up a Microsoft Teams Site Using DocDrive365

   Words by Paul McQuillan

   on 15/06/2021 15:18:00

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 DocDrive365 – so that each record in Dynamics results in a New Team, or contributes to an Existing Team.

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.

STEP 1 – Open the DocDrive365 entity definition

We can use the DocDrive365 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:


STEP 2 – Add a record rule to specify a new Microsoft Team site for each record

We look at the DS4 – Record Rule for what SharePoint concept should be created for a new Record of this Entity.


In this case, we want to set this Rule to a modern SharePoint site – this instructs DocDrive365 to create a New Modern Teams Site for each Engagement added to CRM.

The usual DocDrive365 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.

STEP 3 – Check the site rule

We need to make sure that we have a DS1 – Site Rule that connects up to (typically the root of) a Site Collection that we will use to create new Modern Teams Sites.

With these rules in place, we can then create a new Engagement Record to result in a New Modern Teams Site in SharePoint.


This will then create a New Teams Site for:


Which can (either manually or automatically) appear in Microsoft Teams


This gives a basic example of how to integrate Dynamics with Microsoft Teams – using the example where we may want each new Engagement to be reflected as a new Team for collaboration.

In future articles, we will look at practical examples of hooking elements of Dynamics into Teams and how we can put Teams to use.

  • Having multiple records in Dynamics connected to same Microsoft Team – using the example of having each Support Case connected to one central Team for that Client
  • Building an Activity Feed into the Teams Site based on updates in Dynamics – so each Case or Opportunity contributes to the Chat Feed in the Team
  • Synchronizing Security / Team Membership from Dynamics to the Team

This allows to take the core Document Management concepts of using Dynamics and SharePoint together, and apply these to Collaboration in Teams.

Further Reading: From the beginning, learn more about DocDrive365 >>

Share this Article

Search Articles

Filter Articles

CRM Tech DocMan

Recent Articles

Release Wave 2 New Feature: The Columns Button HOW TO: Search a date field in Microsoft Dynamics The Relevance Search COMING SOON to Power Apps Portals HOW TO: Manage Your Dynamics 365 Database Size (Video Included) Dynamics 365 Marketing vs ClickDimensions It’s time to pause, reflect and acknowledge a new era of inclusivity and collaboration. Part 2 - How to get the most from a Technology Expert – Asset Management Hub Property & Asset Management Hub Part 1 – Balancing CRM and Asset Management Scopes - Asset Management Hub Creating a Multi-Lingual PowerApps Portal How to Set Up a Microsoft Teams Site Using DocDrive365 Microsoft Teams - Adding a Microsoft Teams URL to a Dynamics Appointment Dynamics 365 Marketing – Customer Voice Survey Not Appearing In Emails? Using SQL Management Studio to connect to the Dynamics DB Calling a Power Platform AI Builder Model via oData How to use DocDrive365 to integrate permissions between Business Units in Dynamics with Sites in SharePoint Getting started with the Power Platform AI Builder. Power Apps Portal Information Hub DocDrive365 Security: Day One - Getting Started with Dynamics to SharePoint Permissions Part 5 - Power Apps Portals: How To Connect Azure B2C With Linked-In Part 4 – Power Apps Portals: Styling Azure B2C for Power Apps Portals The 3 Phases for Using Multi-Select Option Sets in Flow with Microsoft Forms Part 3 – PowerApps Portals: Azure B2C and Power Apps Portals – User Flow for Signup and Signin Part 2 - Power Apps Portals: New Application Registration in Azure B2C for our Power Apps Portal Part 1 – Power Apps Portals: Creating a New Azure AD B2C Tenant
Contact Us

Want expert advice or a demo?

Get in touch now and see how we can help your business grow.

  • Name
  • Email Address
  • Phone Number

Understanding Your Challenges

Our strong understanding of CRM and emerging technologies within the Microsoft environment means we deliver the right solutions for you.

Proven Real-World Solutions

As a leader in the field of Dynamics solutions, our pedigree developing and delivering real-world solutions is unsurpassed.

Long Term Support

We provide support beyond our design, implementation and 'go-live' delivery using Sprints and continual updates to our AppSource apps.

CRMCS | Design by Thinktank Marketing | Citrus-Lime Limited

To improve your experience today and in the future, this site uses cookies. Read our full Privacy Policy & Cookie information here I Understand