Advertisements

PnP PowerShell – Apply-PnPProvisioningTemplate stuck on initializing engine

Apply-PnPProvisioningTemplate stuck Today I used PnP PowerShell to provision one of my sites. For some reason my Apply-PnPProvisioningTemplate  CmdLet just didn’t want to run properly. Every time I ran Apply-PnPProvisioningTemplate … read the pnp-powershell-apply-pnpprovisioningtemplate-stuck-on-initiliazing-engine post

SharePoint – Install-SPUserSolution fails on slow or busy systems

Sometimes you run into an issue that is difficult to resolve. Recently I’ve been running a PowerShell script that needs to create 6000 site collections and even more sub sites … read the sharepoint-long-running-powershell-migration-scripts-fail-on-install-spusersolution post

Azure Powershell – Install PnP PowerShell using InlineScript within a release definition in VSTS

Today I tried to install PnPPowerShell within an Azure PowerShell Environment. In the past I tried just to copy all files in a folder within my Azure environment and user … read the azure-powershell-install-pnp-powershell-using-inlinescript-within-a-release-definition-in-vsts post

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 … read the office-365-sharepoint-20132016-replicating-or-migrating-sharepoint-sites post

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

Get Field names from a list Today I tried to load the Fields from a list using PnP PowerShell and CSOM. [code lang=text] $ctx = Get-PnPContext $list = Get-PnPList -Web … read the office-365-pnp-powershell-the-object-is-used-in-the-context-different-from-the-one-associated-with-the-object post

Cannot process argument transformation on parameter ‘VARName’.

During one of my adventures into the world of PowerShell I came across the following error: Cannot process argument transformation on parameter ‘Environment’. Cannot convert value “System.Xml.XmlElement” to type “System.Xml.XmlDocument”. … read the powershell-cannot-process-argument-transformation-on-parameter-varname post

Office 365 – Apply-PnPProvisioningTemplate with publishing pages

Today I tried to apply a PnP template to a publishing site and I was getting the following error. Apply-PnPProvisioningTemplate : The object specified does not belong to a list. … read the office-365-apply-pnpprovisioningtemplate-with-publishing-pages post