SharePoint 2019 (and 2016) DenyAddAndCustomizePages

In SharePoint Online we are quite used to the fact that custom scripts are denied by default in SharePoint. You can allow custom scripts by using PowerShell (https://docs.microsoft.com/en-us/sharepoint/allow-or-prevent-custom-script). Usually you realize this when you run into permission issues, missing libraries or features or migration errors. It looks like Microsoft has added this same feature to…Continue reading SharePoint 2019 (and 2016) DenyAddAndCustomizePages

Converting SharePoint documents to PDF by PowerShell, for free!

There is a lot of commercial PDF converters available for SharePoint that can automatically convert SharePoint documents to PDF format, but there is also an free and fairly simple way to do that. The key is using Word Automation service, PowerPoint Automation service and PowerShell. You can use i.e. Windows task manager, if you want…Continue reading Converting SharePoint documents to PDF by PowerShell, for free!

Update Word document to a new document template by using PowerShell

Organisations usually have tons of Word documents made by using a template. If this template is later changed, you need to update all existing documents somehow. I faced this issue when migrating from SharePoint onprem to SharePoint Online, and the document template was using SharePoint Column data in document headers. All the document headers were…Continue reading Update Word document to a new document template by using PowerShell