Introduction
Issue
For a team site that is associated with an O365 group: if we try to change the logo of the site through site settings UI, the logo is updated, but it then reverts after few minutes.
This is because the logo in the site can be updated through changing it in the O365 group which is at the exchange level. Once the site again syncs back with the exchange server, the logo is reverted to that of the O365 group.
Solution
To solve this, the user should have access to edit the O365 group in the office web app - OWA. The group owners can do that if the setting is enabled at the tenant level.
If this setting is not enabled for group owners, the SharePoint admin can run the below PowerShell commands to update the site logo:
Connect-PnPMicrosoftGraph -Scopes "Group.ReadWrite.All","User.Read.All"
$group = Get-PnPUnifiedGroup -Identity <group display name>
$logo = "<logo file path in local drive>"
Set-PnPUnifiedGroup -Identity $group.GroupId -GroupLogoPath $logo
After running the above PnP PowerShell commands, it might take some time to reflect the new logo. It depends on the sync between exchange and SharePoint.
WitoldPosted Aug 5, 2025, 6:00 AM
Get-PnPUnifiedGroup has been renamed to Get-PnPMicrosoft365Group