If you need to add a user as a site collection administrator across all these sites, doing it manually can be time-consuming and prone to errors. Thankfully, PowerShell and the PnP PowerShell module can help automate this task efficiently. In this blog post, I'll guide you through a script that adds a user as a … Continue reading Automating Site Collection Administrator Addition for All Sites in a SharePoint Online Hub
Month: August 2024
Automating Content Type Updates Across Document Libraries in SharePoint Online
Introduction If you need to update all document libraries in all sites in a SharePoint Online hub from using a local content type to use a content type from the content type hub, this blog post shows how you can achieve this. Manually managing content types across multiple sites in SharePoint Online can be a … Continue reading Automating Content Type Updates Across Document Libraries in SharePoint Online
Export SharePoint term set to CSV file with PnP PowerShell
To be able to import terms from a term set in one tenant to another tenant (for example if you have a test tenant and a production tenant), you need some way of exporting the term set from the source tenant. The import file should be in .csv format. The PnP PowerShell Module has commands … Continue reading Export SharePoint term set to CSV file with PnP PowerShell
PnP Search Extension – Rendering a field value
When using the PnP Search Web Parts, you have the possibilty of extending the web part by building custom web components that can be used in the handlebar code. (Read more about PnP Search extensibility here). In the handlebar templates in PnP Search, the values of managed search properties are used to display the search … Continue reading PnP Search Extension – Rendering a field value