Not able to set site logo by PnP template on a modern team site
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
Got this error when applying a PnP template:
Invoke-PnPSiteTemplate : The specified filename 'XXXXXLogo.png' cannot be found
The related part of my template looks like:

The file is definitely available in the site collections SitesAssets library !?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing Invoke-PnPSiteTemplate with the shown template and the logo in the site's SitesAssets library. Trace why the template cannot resolve XXXXXLogo.png; done means the modern team site receives the logo without the filename-not-found error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100