Open Blue2juice opened 4 years ago
Hi, is there any news on this even if it is that I am doing it wrong?
Hello? Any advice?
Hello is there any information on this?
Hello, Anything on this?
Hello, is there anyone who is able to assist?
Is there anyone still there?
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
)How did you install the PnP-PowerShell Cmdlets?