pnp / pnp/pnpframework

SiteLogo is not updated

Open
#877 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

Hi all,

I have a site collection group connected where I'm trying to configure it with a custom site logo.

In the PnP template, I'm using the node WebSettings with the property SiteLogo="xxxx" and SiteLogoThumbnail="xxxx"

The PnP code is calling this method in the background to apply that logo SetGroupImageAsync, but the returnValue is coming always a 400. This is calling the SP endpoint "/_api/groupservice/setgroupimage". Not sure if this is a bug or a SP issue. I have tested with .png and .jpg images.

Thanks,

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the WebSettings handling for SiteLogo and SiteLogoThumbnail and trace its call to SetGroupImageAsync, which invokes /_api/groupservice/setgroupimage. Reproduce the 400 response with the reported PNG and JPG cases, then determine whether the failure is in PnP Framework or the SharePoint endpoint. Done means the logo settings apply successfully or the external limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.