A colleague of mine, Nico De Cleyre, recently was struggling with adding a Notebook-tab to a Team in his Microsoft Teams provisioning script.
As Microsoft mentions Notebook tabs in their documentation, they also outline that configuration for these kind of tabs are not supported by default.
But… Nico wouldn’t be Nico if he didn’t find a solution to this. So we’d love to share this with you. We start by explaining the difficulty, to end with a working Powershell script to add a Notebook tab to your Team.
In a lot of cases you need to assign, remove or select which services in a license to assign to all of your users in one shot. Thru the UI it is a huge amount of work, consider environments with more than 5k users, which can easily be automated with Powershell.
In order to assign, remove and select which services to assign to all your users, you can use the script here-under.
When enabling the Teams license in Office 365, every member within the organisation can create Teams. To prevent uncontrolled growth of Teams, it is a best practice to disable the creation of Teams and put in place a provisioning engine instead.
In SharePoint Online, for a list or document library, it is possible to define default metadata values based on the folder where an item or document is added.
As with a lot of cases in SharePoint, the defaults are set on subfolders with inheritance. On every folder-level it is possible to break the inheritance and define other default values for your metadata.
In the example below we work with a Managed Metadata field, called customer, we need to default. This way our co-workers don’t need to specify the value everytime they create or upload a document to the document library.
There are two ways to make the magic happen. Through the user interface, and with Powershell.
In Sharegate, having the full license (!), it is possible to run PowerShell scripts. In this script we could read a CSV-file to bulk migrate document libraries, lists or sites.
This can speed up the migration time, since you would only need to specify the objects once in a simple CSV-file instead of manually going through every object one by one, which is very time consuming.
In this example, we will perform a bulk incremental update (only copy the item if it is newer in the source than the corresponding item at the destination) of some document libraries from an on premise environment to different Site Collections in SharePoint Online.
The reports can be found in Sharegate as well, through the “Migration reports” button in the Ribbon.