- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Aug 29 2021 09:26 PM
I went into teams admin and created a custom template from an existing team. All that looks fine.
I would like to now automate the creation of teams using that template.
I have played with graph and PowerShell but can't figure out how to do this?
In PowerShell I'm doing:
PS C:\WINDOWS\system32> New-Team -DisplayName "TestingTemplates" -Description "Team to test templates" -Visibility Private -Template "MyTemplate"
Result is:
New-Team : Cannot validate argument on parameter 'Template'. The argument "MyTemplate" does not belong to the set "EDU_Class,EDU_PLC" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.
Preferably I'd like to use Microsoft Power Automate to do this. So maybe a rest command? But seems like the template command only works for edu??
I have verified my template shows up using:
Get-CsTeamTemplateList
Thanks,
Terry
- Labels:
-
Custom Template