Forum Discussion
Bulk Creation of Teams from Existing Groups using PowerShell
Hello, I am wondering if it's possible to create a large number of teams from existing O365 groups using PowerShell. I know how to bulk create in PowerShell, but we've recently created a number of SP sites and would prefer to leverage the existing groups from those instead of creating more groups (and more sites). If this can only be done manually, that's fine, i'd just prefer to know sooner rather than later. 🙂
- Not possible with powershell alone! To do this programmatically use Microsoft Graph:
https://docs.microsoft.com/en-us/graph/teams-create-group-and-team
4 Replies
- Ltbel121Copper Contributor
Carrera_B I agree, but I don't want to spend my time producing a PowerShell group. One would wonder why Outlook can add bulk lists of email address, but not allow you to choose the Team -Channel, while Teams allows you to choose the Team - Channel, but not all bulk email addresses.
I just entered 69 email addresses, one at a time (copy, paste, tab). I've tried adding comma, semicolon, colon, and any other combination of dividers to copy all 69 email addresses and click tab to show them in Teams - FAILED
- Dominique0473Copper Contributor
Carrera_B for EDU tenant, same thing? keep students from being able to create their own teams etc?
- Not possible with powershell alone! To do this programmatically use Microsoft Graph:
https://docs.microsoft.com/en-us/graph/teams-create-group-and-team- +1 for the Graph
Mr Link...
Best, Chris