pnp / PnP-PowerShell

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

[BUG] Set-PnPTheme not setting background image #2799

Open Blue2juice opened 4 years ago

Blue2juice commented 4 years ago

Reporting an Issue or Missing Feature

Whilst using Set-PnPTheme from the Microsoft Docs pages, https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnptheme?view=sharepoint-ps, we get an error "The Image is Invalid". We have to amend the Backgroundimageurl to be as follows, to get it to set any image, but the image still does not show wherever we put the image on the site. Set-PnPTheme -BackgroundImageUrl "/sites/Scripting/SiteAssets/Collab.png"

MS Documents advise the following script which does not work. Set-PnPTheme -ColorPaletteUrl _catalogs/theme/15/company.spcolor -BackgroundImageUrl 'style library/background.png' -ResetSubwebsToInherit

Does anyone know why this is as we have raised 2 tickets with Premier Support who advise raising here and I can see someone had similar issues 2 years ago that were never answered?

Expected behavior

We expect this to work and set an image as the sites background image.

Actual behavior

We get an error "The Image is Invalid"

Steps to reproduce behavior

Please include complete code samples in-line or linked from gists

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 sharepointpnppowershell* -ListAvailable) image

How did you install the PnP-PowerShell Cmdlets?

Blue2juice commented 4 years ago

Hi, is there any news on this even if it is that I am doing it wrong?

Blue2juice commented 4 years ago

Hello? Any advice?

Blue2juice commented 4 years ago

Hello is there any information on this?

Blue2juice commented 4 years ago

Hello, Anything on this?

Blue2juice commented 4 years ago

Hello, is there anyone who is able to assist?

Blue2juice commented 4 years ago

Is there anyone still there?