Project team in Teams with folder structure in files tab!

teams

Not a long blog post, just straight to the point.
I have made a script that creates a team in Teams with a project structure as the use case. It creates predefined folders under each channels files tab.
The channels root document folder in SharePoint is not created until you click the file tab in that specific channel, therefore I create these in the script so I can go on to create subfolders.

Connecting to Graph API is done through an application and application secret from Azure. More on this in Lee Ford’s blog post here.
How to create a folder in SharePoint I got from this blog post here.

 

 

https://gist.githubusercontent.com/AlexanderHolmeset/d447cd7c24dd91c3275ad17a5091f0ed/raw/79478f1e789ab36a9236f21a3161685091b12e62/ProjectTeamStructure.ps1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s