Replies: 2 comments 1 reply
-
Actually, I have just tried And I wonder what would be the command to remote the logo? It's possible in UI, shouldn't it also be possible in PS? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've transferred this as a discussion, unless you have a command that's meant to work and it doesn't with the new version. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm looking for the way to change both logo and thumbnail for the root web and all subwebs on any site; many of my sites are Modern Sites without O365 Group (STS#3). I use a recursive function and for each web do the following:
Set-PnpWeb -SiteLogoUrl $SiteLogoUrl
And it works like a charm (for newly created sites)! Both logo and thumbnail (seem to) get changed.
But as soon as I change the site logo on STS#3-based site in UI, it "sticks". Any further attempts of
Set-PnpWeb -SiteLogoUrl
set just the thumbnail - the logo remains unaffected. The only way to make it configurable throughSet-PnpWeb
again is to completely remove it in UI.So I notice this in the docs:
If you want to set the logo to a modern team site, use Set-PnPSite -LogoFilePath.
Aha! I run this
Set-PnpSite -LogoFilePath $LogoFilePath
but sadly get an exception "Set-PnpSite : Not an Office365 group enabled site."
So I'm completely stuck... Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions