Forum Discussion
Gab7
Sep 01, 2020Copper Contributor
Creating classes using powershell 2020
Hi, I'm using PowerShell to create classes in Teams and it works fine with the Microsoft Teams module version 0.9.6, which allow me to select the accurate template (EDU_Class). It's the only vers...
HenryPhillipsNimbitech
Sep 02, 2020Bronze Contributor
Also you may need to do a start-sleep in there after creation for x amount of seconds to allow for the group to be fully instantiated before moving on
Gab7
Sep 07, 2020Copper Contributor
It worked !!
I now create my classes using the teams module but with a slight difference (like I said before) and when all teams are created, I use the given GroupID and the following command (with the exchange online module this time) :
Set-UnifiedGroup -Identity $GroupID -PrimarySmtpAddress $MailAfter
And it changes the primary address 🙂
thx for your help