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

Advertisements

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 – New-PnPWeb : Provisioning did not succeed

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 … read the 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 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

Office 365 – Apply-PnPProvisioningTemplate : Exception has been thrown by the target of an invocation.

Quite a while back I experienced the following error generated by the Apply-PnPProvisioningTemplate Cmdlet. Exception has been thrown by the target of an invocation. Today I received the same error … read the office-365-apply-pnpprovisioningtemplate-exception-has-been-thrown-by-the-target-of-an-invocation 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