Forum Discussion
LauraFW
Jul 07, 2020Copper Contributor
Provisioning Shifts (schedule) for a Microsoft Team via PowerShell
Hi 🙂 I am trying to provision Shifts (schedule) for Teams. The overall script creates a new Team, then passes the ID to the shifts piece. But I cannot, for the life of me, find a way to provision it...
teams1535
Microsoft
Jul 09, 2020Hi LauraFW
you are getting error while excuting Update-MgTeamSchedule command.
try to run the below command share the update if it wont works.
Update-MgTeamSchedule -TeamId $tGroupId -Enabled $null
and setting for time zone please go through below links.
https://tahoeninjas.blog/2019/04/25/setting-the-default-timezone-for-sharepoint-online/