Open tristian2 opened 4 years ago
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Hi @tristian2,
The Set-PnPSite documentation specifies that the LogoFilePath parameter "Sets the logo of the site if it concerns a modern team site." If you have a communication site, you could upload the picture to your site and reference it using the SiteLogoUrl parameter from the Set-PnPWeb command.
Let me know if you need any help.
Reporting an Issue or Missing Feature
Please confirm what it is that your reporting I have a site collection that is not group enabled, intentionally. When I try to set it's logo, using
Set-PnPSite -LogoFilePath ProfileAvatar-64px.png -Identity $siteCollectionURL
I guess the logic in https://github.com/pnp/PnP-PowerShell/blob/master/Commands/Site/SetSite.cs needs to be tweaked.
Expected behavior
I'd expect the logo for the site collection to be set.
Actual behavior
I observe this error:
Set-PnPSite : Not an Office365 group enabled site
Steps to reproduce behavior
Set-PnPSite -LogoFilePath ProfileAvatar-64px.png -Identity $siteCollectionURL
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
Binary 3.22.20... SharePointPnPPowerShellOnline
Binary 3.21.20... SharePointPnPPowerShellOnline
How did you install the PnP-PowerShell Cmdlets?
thanks