How to modify the SharePoint Created By value using PnP PowerShell

Whenever you create a list item or a document in SharePoint, the platform automatically adds the information of the user to the Created By column.

Once the file or item is added to the platform, there is no way to change the value of this column through the UI, however it is possible to do it using PnP PowerShell and that’s what I’m explaining in this article.

Modify SharePoint created by column

(more…)

How to enable/disable the automatic SharePoint news digest

The new SharePoint news digest uses a built-in intelligent ranking so that the users see the most relevant content to them if they have missed something published in SharePoint.

The email is sent on a weekly basis and if your organization is already branded the email will pick the colors and the logo automatically from it. Despite the weekly cadence the users will not receive an email if there is nothing relevant/published to show in a particular week.

SharePoint automatic news digest

(more…)

How to disable automatic news digest from SharePoint

SharePoint news digest are around for some time now, the process to trigger an internal newsletter with the SharePoint news until now was purely manual but that is about to change with the introduction of the automatic news digest.

The update to this feature was announced on Microsoft Ignite and starts now to arrive to the tenants worldwide, if you were not expecting it and your users are not yet prepared in this article you will find how to disable it globally in your tenant.

Deactivate SharePoint news digest

(more…)

How to enable SharePoint Spaces in all modern sites

SharePoint Spaces Preview have just arrived, however they are disabled by default and you must enable the feature in any site where you want to build VR environments.  

This can be a tedious process if you want to enable it to all your modern sites, but thanks to PnP PowerShell this process can be easily automated.

sharepoint spaces

(more…)

How to change the page layout on a modern SharePoint page

Modern SharePoint pages can be configured with three different page layouts but unfortunately, until now there is not an option in the UI to change them.

This article describes four different approaches that you can use to change the page layout and explains what you will get with each one.

(more…)

Apply SPFx extensions to SharePoint Hub Sites using PnP PowerShell

Hub sites brig a set of common functions to all sites that belong the hub, but extensions are not propagated to all sites automatically.

With PnP PowerShell is possible to automate the installation of Application Customizers through the sites, the script below search for all sites associated with hub and apply the custom action to all of them.

Before running the script, you will need to have PnP PowerShell installed, the latest version can be installed from here.

(more…)

Export and Import Site Collection Term Groups using PnP PowerShell

Managed metadata allows the creation of central managed term sets that can be used as attributes in SharePoint sites, term sets can be created globally and shared across site collections or can be created locally to the site collection.

The PnP PowerShell includes commands to export and import terms groups but unfortunately the site collection term group is not exported automatically, this article provides a workaround to get all the site collection term sets into an xml ready to import into other site collections.

(more…)

Change the color of SharePoint modern experience automatically

SharePoint modern experience is available for Lists, Document Libraries and Pages and while it delivers new functionalities to the end users it lacks some of the customization options available in the classic SharePoint.

The modern experience is provided with a theme that is responsible to format the colors of the elements in the page. On modern site collections like group and communication sites there’s a native interface that allows the administrator to control the color theme, but on classic site collections things are a little bit different and the modern experience will receive a random color applied automatically.

SharePoint Color

(more…)

Fix publishing pages with custom page layouts created from template

This article is a continuation of my previous article that explains how to save publishing sites as templates.

Per the feedback received some people was not able to access the sites created with the template, this happens with sites that include pages with custom page layouts.

Before getting into details about how to fix this please notice that the previous article is a hack to save the site as a template, save site as a template is disabled in all Publishing sites and other type of sites with publishing features active, this means that the hack may not work in all SharePoint scenarios.

Page layout template error

(more…)


I've been working with Microsoft Technologies over the last ten years, mainly focused on creating collaboration and productivity solutions that drive the adoption of Microsoft Modern Workplace.