I've been struggling a little by creating Teams by PowerShell and I found something weird. I've been executing the following PS:
#se debe de tener en cuenta que el usuario que qcrea el grupo es el owner del mismo $alias = "NuevoTest" $DisplayName = "NuevoTest" $visibilidad = "private" #por defecto es public $owner = "firstname.lastname@example.org" $usuarios = @("email@example.com","firstname.lastname@example.org")
Which allows me to create a new Team with their channels without problem, the weird thing is it in the Document Library in SPO. I know that everything is connected, so I have my Teams and by default I have the SC in SPO which points to Shared Documents, every channel created in Teams, will be created in SPO, but not in my case, I found that I am able to create all the channels that I want in PowerShell, this channels are listed in Teams, but by default are not listed in SPO.
I need to access to every channel, access to every files tab to get the folder channel created in SPO. I know that could be a by default behaviour, but I want to automatize the process, and get the folder in SPO without the need of access to the channel in Teams.
Has anyone faced this need? Is it possible to bypass this behaviour by using CSOM?
As with most Groups/Teams related tasks, it's a matter of waiting for the different workloads to "catch up" with the changes you have made. Which sadly can take up to a day if the synchronous "signal" fails. But yes, if your priority is the SPO side of things, best use CSOM.