Forum Discussion

blogmku's avatar
blogmku
Copper Contributor
Jul 23, 2020
Solved

Need to create team when 0365 sharepoint group is created

HI, I am looking for a requirement,  When a SharePoint 0365 site is created (https://mkuonline.sharepoint.com/sites/MyTestSite) - 1.I need to automatically create a MS Team as (MyTestSite) from sit...
  • Hi, blogmku 

     

    I would look to do this the other way round as a Team as part of its creation, creates a M365 group at its core and an associated Site, well the site you would get with an M365 group anyway.

     

    So that for me would satisfy the Group and the SharePoint site binding to a Team requirement.

     

    If you wanted to go GUI style, there normally is a nice little notification in the bottom left that would allow you to Teams enable the Group via SharePoint, however this would do nothing for your Channel requirements.

     

    So for Channels, you really have a lot of options:

    You can create Templates and create Teams off of those Templates.

     

    You could do it via the Teams client and have one Team set how you like and then create other Teams off of that Team.

     

    You could create a Power App that initiates a Power Automate Flow to provision all that is required.

     

    You could utilise M365 CLI.

     

    You could utilise PowerShell scripts and make use of the MicrosoftTeams module cmdlets.

     

    Thanks

     

    Henry