pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
990 stars 663 forks source link

Add-PnPSiteDesignTask doesn't do anything #2473

Open erikjvanderveen opened 4 years ago

erikjvanderveen commented 4 years ago

Reporting an Issue or Missing Feature

When I use Add-PnPSiteDesignTask to activate a sitedesign on a site, nothing happens. Invoke-PnPSiteDesign works well, but does not supports more then 30 steps in a site-design. Add-SPOSiteDesignTask does work

Expected behavior

I expect a working sitedesign or an error explaining why it doesn't do anything

Actual behavior

Nothing

Steps to reproduce behavior

Try adding a sitedesign using Add-PnPSiteDesignTask

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

(you can retrieve this by executing Get-Module -Name *pnppowershell* -ListAvailable) Latest

How did you install the PnP-PowerShell Cmdlets?

ghost commented 4 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

CodingSinceThe80s commented 4 years ago

I would like to add that I am experiencing the same issue on Build 3.18.2002.0

CodingSinceThe80s commented 4 years ago

So just an update on this issue: I have downloaded the dev branch and I believe I found the bug: it lies buried in the SharePoint Client Assemblies that come with the PnP-Sites-Core package (PnP-dependency), to be exact in the Microsoft.Online.SharePoint.Client.Tenant.dll (16.1.19724.12000). It seems that the Tenant Context is loaded, but the Query is not executed. @erwinvanhunen @VesaJuvonen : I have a fix almost ready and will create a pull request shortly.