SharePoint · PowerShell · SharePoint 2013 · Office 365 · Patterns And Practices · SharePoint 2016 · SharePoint Online

Office 365 / SharePoint 2013/2016 – Moving sites around


Have you ever tried to migrate a site from an on-premises SharePoint environment to Office 365? Or have you tried keeping development, test and production sites in sync? Within an on-premises environment you would have been likely to hit issues with custom solution? Or you might have hit issues with recreating sites exactly the same… Continue reading Office 365 / SharePoint 2013/2016 – Moving sites around

Office 365 · Patterns And Practices · SharePoint · SharePoint 2013 · SharePoint 2016 · SharePoint Online

Office 365 – SharePoint – New-PnPWeb : Provisioning did not succeed. Details: Failed to initialize some site properties for Web at Url: ” OriginalException: The request uses too many resources.


Today I tried to create a site  using New-PnPWeb and I received the following erro message: New-PnPWeb : Provisioning did not succeed. Details: Failed to initialize some site properties for Web at Url: 'https://mytenant.sharepoint.com/clients/client1' OriginalException: The request uses too many resources. I then tried it again and I got the same message Then I tried… Continue reading Office 365 – SharePoint – New-PnPWeb : Provisioning did not succeed. Details: Failed to initialize some site properties for Web at Url: ” OriginalException: The request uses too many resources.

Office 365 · Patterns And Practices · PowerShell · SharePoint · SharePoint 2013 · SharePoint 2016

Office 365 – SharePoint 2013/2016 – Replicating or migrating SharePoint sites.


Over the last year or so many of my posts have been related to the PnP Provisioning Engine. I've created multiple scripts to replicate my whole intranet from one tenant to another. I've set this all up in such a way that this would work for any intranet solution based on Office 365 or SharePoint… Continue reading Office 365 – SharePoint 2013/2016 – Replicating or migrating SharePoint sites.

Office 365 · Patterns And Practices · PowerShell · SharePoint

Office 365 – PnP PowerShell – The object is used in the context different from the one associated with the object


Today I tried to load the Fields from a list using PnP PowerShell and CSOM.   $ctx = Get-PnPContext $list = Get-PnPList -Web $web -Identity $listName $ctx.Load($list.Fields) $ctx.ExecuteQuery() This quite quickly resulted in : Exception calling "Load" with "1" argument(s): "The object is used in the context different from the one associated with the object."… Continue reading Office 365 – PnP PowerShell – The object is used in the context different from the one associated with the object

Office 365 · Patterns And Practices · Project Online · SharePoint · SharePoint 2013 · SharePoint 2016

Office 365 – PnP – Pages are not replicated


Over the last year or so many of my posts have been related to the PnP Provisioning Engine. I've created multiple scripts to replicate my whole intranet from one tenant to another. I've set this all up in such a way that this would work for any intranet solution based on Office 365 or SharePoint… Continue reading Office 365 – PnP – Pages are not replicated