SOLVED

Teams Creation using a Template via Powershell

%3CLINGO-SUB%20id%3D%22lingo-sub-326656%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-326656%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F162106%22%20target%3D%22_blank%22%3E%40Renato%20Rossetti%3C%2FA%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67646%22%20target%3D%22_blank%22%3E%40Nick%20Botha%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI've%20recently%20been%20blogging%20about%20how%20to%20provision%20Teams%20using%20PowerShell%20to%20call%20the%20Microsoft%20Graph%2C%20then%20calling%20this%20from%20Flow%2C%20I've%20posted%20the%20first%203%20stories%20here%20%3A-%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E1.%20%3CA%20href%3D%22https%3A%2F%2Fregarding365.com%2Fcreate-a-new-team-from-microsoft-flow-61a361ee328a%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ECreating%20a%20Team%20from%20Flow%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E2.%20%3CA%20href%3D%22https%3A%2F%2Fregarding365.com%2Fadd-a-tab-to-a-teams-channel-in-flow-6bebb4935313%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAdding%20a%20Tab%20to%20a%20Teams%20Channel%20from%20Flow%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E3.%20%3CA%20href%3D%22https%3A%2F%2Fregarding365.com%2Fdelete-a-tab-using-microsoft-flow-ea0c560d49ef%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EDeleting%20a%20Tab%20from%20Flow%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThere%20are%20other%20things%20coming%2C%20the%20Teams%20roadmap%20talks%20about%20Template%20Teams%20coming.%20There%20is%20a%20graph%20call%20at%20the%20moment%20to%20create%20a%20new%20Team%20based%20on%20another%2C%20but%20I've%20not%20found%20it%20to%20be%20very%20useful%20as%20typically%20I%20want%20to%20change%20the%20tabs%20etc.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-326502%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-326502%22%20slang%3D%22en-US%22%3E%3CP%3ENo%2C%20there%20is%20still%20no%20parameter%20to%20use%20a%20existing%20template%20from%20powershell!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fteams%2Fnew-team%3Fview%3Dteams-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fteams%2Fnew-team%3Fview%3Dteams-ps%3C%2FA%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CFONT%3E%2F%20Adam%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-326496%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-326496%22%20slang%3D%22en-US%22%3Eare%20there%20any%20news%20for%20teams%20creation%20from%20Powershell%3F%3CBR%20%2F%3Ethank%20you%20in%20advance%3CBR%20%2F%3Er%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-191657%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191657%22%20slang%3D%22en-US%22%3EYou%20should%20in%20a%20few%20months%20be%20able%20to%20create%20a%20team%20based%20on%20an%20existing%20team%20from%20within%20Teams%2C%20choosing%20what%20to%20bring%20into%20the%20new%20team.%20Check%20this%20announcement%20for%20more%20about%20the%20APIs%20coming%3A%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams-Blog%2FBuild-and-manage-tailored-apps-for-the-enterprise-using-the%2Fba-p%2F190580%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2FMicrosoft-Teams-Blog%2FBuild-and-manage-tailored-apps-for-the-enterprise-using-the%2Fba-p%2F190580%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-191462%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191462%22%20slang%3D%22en-US%22%3EThis%20would%20be%20world%20class.%20Am%20I%20correct%20that%20they%20are%20entering%20summer%20now%20%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-191460%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191460%22%20slang%3D%22en-US%22%3ESo%20this%20has%20nothing%20to%20do%20with%20creating%20unique%20templates%20%3F%3CBR%20%2F%3EI%20am%20busy%20researching%20a%20solution%20to%20automate%20the%20creation%20of%20new%20Teams%20and%20by%20calling%20on%20a%20template%20would%20be%20the%20perfect%20scenario.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-191458%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191458%22%20slang%3D%22en-US%22%3EUsing%20new-team%20-template%20EDU_class%20will%20give%20you%20a%20new%20class%20team%20on%20EDU%20tenants%20with%20an%20assignment%20tab%2C%20OneNote%20class%20notebook%20etc%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-191418%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191418%22%20slang%3D%22en-US%22%3EAbility%20to%20create%20Team%20Templates%20and%20create%20Teams%20from%20those%20templates%20is%20not%20available%20yet%20but%20it's%20coming%20with%20the%20Teams%20API%20to%20be%20released%20by%20Microsoft%20during%20summer%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-906036%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-906036%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F178440%22%20target%3D%22_blank%22%3E%40Steven%20Collier%3C%2FA%3E%26nbsp%3B%20is%20there%20currently%20a%20way%20to%20create%20a%20template%20from%20another%20Team%20using%20the%20data%20that%20was%20created%20inside%20as%20well%20as%20the%20structure%3F%26nbsp%3B%26nbsp%3B%20Thanks%20for%20any%20direction%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-191404%22%20slang%3D%22en-US%22%3ETeams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-191404%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E*I%20hope%20this%20is%20the%20correct%20area%20to%20post.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20creating%20a%20New-Team%20via%20Powershell%2C%20has%20anyone%20come%20across%20or%20used%20the%20%22-Template%22%3F%3C%2FP%3E%3CP%3EDoes%20anyone%20know%20if%20i%20can%20create%20a%20Template%20that%20i%20can%20reference%20when%20creating%20a%20new%20Team%20as%20seen%20in%20the%20below%20image.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-191404%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESettings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-906364%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-906364%22%20slang%3D%22en-US%22%3ENo%2C%20but%20You%20can%20copy%20files%20and%20folders%20vis%20Microsoft%20Flow%20after%20the%20Teams%20template%20is%20provisioned%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-906571%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-906571%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F72542%22%20target%3D%22_blank%22%3E%40adam%20deltinger%3C%2FA%3E%26nbsp%3B%26nbsp%3B%20Thanks%20for%20that%20suggestion%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-913170%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-913170%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F423839%22%20target%3D%22_blank%22%3E%40InBoiseToo%3C%2FA%3E%26nbsp%3Bif%20you%20take%20the%20same%20approach%20of%20using%20Runbooks%20triggered%20from%20Flow%20you%20can%20script%20basically%20anything%20once%20you%20find%20the%20right%20API.%20For%20example%20for%20my%20customers%20I%20have%20an%20extension%20on%20those%20scripts%20that%20allows%20my%20to%20duplicate%20a%20template%20team%2C%20copy%20all%20the%20files%2C%20copy%20all%20the%20plans%20and%20tasks%2C%20and%20post%20initial%20messages.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1023274%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1023274%22%20slang%3D%22en-US%22%3E%3CP%3EWhat%20is%20the%20Team%20Powershell%20version%20can%20use%20the%20parameter%20%22Template%22%20for%20Education%20tenant%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ee.g.%20New-Team%20-Template%20EDU_Class%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1237704%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1237704%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F72542%22%20target%3D%22_blank%22%3E%40adam%20deltinger%3C%2FA%3E%26nbsp%3Band%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F67646%22%20target%3D%22_blank%22%3E%40Nick%20Botha%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUse%20version%200.9.6%20and%20it%20will%20work.%20As%20of%201.0.5%20its%20not%20yet%20in.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EUninstall-Module%20-Name%20MicrosoftTeams%0AInstall-Module%20-Name%20MicrosoftTeams%20-RequiredVersion%200.9.6%20-Verbose%20-Force%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20are%20some%20changes%20as%20well%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E0.9.6%0A%0ANew-Team%20-Alias%20-AccessType%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E1.0.5%0A%0ANew-Team%20-MailNickName%20-Visibility%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20also%20have%20to%20use%20-owner%20then%20you%20make%20the%20team%20and%20then%20you%20use%20Template%20you%20can%20not%20use%26nbsp%3BAccessType%2C%20the%20template%20will%20always%20produce%20HiddenMembership%20and%20AccessType%20just%20have%20Public%2CPrivate%20in%200.9.6%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1468964%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1468964%22%20slang%3D%22en-US%22%3E%3CP%3EHow%20about%20removing%2Fediting%2Fchange%20existing%20templates%3F%26nbsp%3B%20Also%2C%20changing%20the%20template%20for%20an%20existing%20Team%3F%20Any%20plans%20for%20any%20of%20that%2C%20or%20am%20I%20missing%20an%20existing%20way%20to%20do%20that%3F%26nbsp%3B%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F16502%22%20target%3D%22_blank%22%3E%40Enok%20N%C3%A6vdal%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1707892%22%20slang%3D%22en-US%22%3ERe%3A%20Teams%20Creation%20using%20a%20Template%20via%20Powershell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1707892%22%20slang%3D%22en-US%22%3E%3CP%3EHey%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F172687%22%20target%3D%22_blank%22%3E%40Rob%20Hupf%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20the%20Powershell%20Teams%20Module%20is%20build%20on%26nbsp%3BGraph.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22teams-lifecycle%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F221771iB35BDBF0608081B5%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22teams-lifecycle%22%20alt%3D%22teams-lifecycle%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMicrosoft%20has%20made%20some%20more%20templates.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fget-started-with-teams-templates%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fget-started-with-teams-templates%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMicrosoft%20Teams%20API%20is%20focusing%20on%26nbsp%3BMicrosoft%20Graph.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2F%23pivot%3Dhome%26amp%3Bpanel%3Dhome-all%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fplatform%2F%23pivot%3Dhome%26amp%3Bpanel%3Dhome-all%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20dynamic%20change%2Fediting%20from%20Teams%20API%20is%20the%20way%20they%20want%20us%20to%20go%20I%20think.%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fyoutu.be%2FKCvAhQEJmyY%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fyoutu.be%2FKCvAhQEJmyY%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20you%20can%20make%20your%20own%20code%2C%20and%20this%20will%20be%20a%20kind%20of%20template.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMicrosoft%20Teams%20API%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fresources%2Fteams-api-overview%3Fview%3Dgraph-rest-1.0%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fgraph%2Fapi%2Fresources%2Fteams-api-overview%3Fview%3Dgraph-rest-1.0%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Hi,

 

*I hope this is the correct area to post.

 

When creating a New-Team via Powershell, has anyone come across or used the "-Template"?

Does anyone know if i can create a Template that i can reference when creating a new Team as seen in the below image.

Teams_Template.JPG

 

16 Replies
Highlighted
Best Response confirmed by Nick Botha (Occasional Contributor)
Solution
Ability to create Team Templates and create Teams from those templates is not available yet but it's coming with the Teams API to be released by Microsoft during summer
Highlighted
Using new-team -template EDU_class will give you a new class team on EDU tenants with an assignment tab, OneNote class notebook etc
Highlighted
So this has nothing to do with creating unique templates ?
I am busy researching a solution to automate the creation of new Teams and by calling on a template would be the perfect scenario.
Highlighted
This would be world class. Am I correct that they are entering summer now ?
Highlighted
You should in a few months be able to create a team based on an existing team from within Teams, choosing what to bring into the new team. Check this announcement for more about the APIs coming: https://techcommunity.microsoft.com/t5/Microsoft-Teams-Blog/Build-and-manage-tailored-apps-for-the-e...
Highlighted
are there any news for teams creation from Powershell?
thank you in advance
r
Highlighted

No, there is still no parameter to use a existing template from powershell!

 

https://docs.microsoft.com/en-us/powershell/module/teams/new-team?view=teams-ps

 

/ Adam

Highlighted

@Renato Rossetti @Nick Botha 

 

I've recently been blogging about how to provision Teams using PowerShell to call the Microsoft Graph, then calling this from Flow, I've posted the first 3 stories here :-

 

1. Creating a Team from Flow

2. Adding a Tab to a Teams Channel from Flow

3. Deleting a Tab from Flow

 

There are other things coming, the Teams roadmap talks about Template Teams coming. There is a graph call at the moment to create a new Team based on another, but I've not found it to be very useful as typically I want to change the tabs etc.

 

Highlighted

@Steven Collier  is there currently a way to create a template from another Team using the data that was created inside as well as the structure?   Thanks for any direction

Highlighted
No, but You can copy files and folders vis Microsoft Flow after the Teams template is provisioned
Highlighted

@adam deltinger   Thanks for that suggestion

Highlighted

@InBoiseToo if you take the same approach of using Runbooks triggered from Flow you can script basically anything once you find the right API. For example for my customers I have an extension on those scripts that allows my to duplicate a template team, copy all the files, copy all the plans and tasks, and post initial messages. 

 

Highlighted

What is the Team Powershell version can use the parameter "Template" for Education tenant?

 

e.g. New-Team -Template EDU_Class

 

 

Highlighted

@adam deltinger and @Nick Botha 

 

Use version 0.9.6 and it will work. As of 1.0.5 its not yet in.

Uninstall-Module -Name MicrosoftTeams
Install-Module -Name MicrosoftTeams -RequiredVersion 0.9.6 -Verbose -Force

 

There are some changes as well

 

0.9.6

New-Team -Alias -AccessType

 

1.0.5

New-Team -MailNickName -Visibility

 

You also have to use -owner then you make the team and then you use Template you can not use AccessType, the template will always produce HiddenMembership and AccessType just have Public,Private in 0.9.6

 

Highlighted

How about removing/editing/change existing templates?  Also, changing the template for an existing Team? Any plans for any of that, or am I missing an existing way to do that?  @Enok Nævdal 

Highlighted

Hey @Rob Hupf

 

So the Powershell Teams Module is build on Graph.

 

teams-lifecycle

 

Microsoft has made some more templates.

https://docs.microsoft.com/en-us/microsoftteams/get-started-with-teams-templates

 

Microsoft Teams API is focusing on Microsoft Graph.

https://docs.microsoft.com/en-us/microsoftteams/platform/#pivot=home&panel=home-all

 

So dynamic change/editing from Teams API is the way they want us to go I think.

https://youtu.be/KCvAhQEJmyY

 

So you can make your own code, and this will be a kind of template.

 

Microsoft Teams API

https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0