Invoke-PnPSiteTemplate throw error: "Access is denied" for these fields _Emoji,_ColorHex,_ColorTag
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
_Emoji,_ColorHex, _ColorTag fields are added automatically to the extracted template. These fields are not available in the source site but still added to the extracted template which causes the provisioning to fail with below errors. After removing these fields manually from the template and then re-apply the same template is working fine. Please check and let us know why those hidden fields are automatically added to the template while extracting from the base site using Get-PnPSiteTemplate command.
These additional fields are currently breaking our automated site provisioning process.
XML Template
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 Get-PnPSiteTemplate extraction and Invoke-PnPSiteTemplate application using the XML shown in the issue. Trace how _Emoji, _ColorHex, and _ColorTag are discovered and written into the extracted template. Done means extraction no longer adds unavailable fields, or applying the template no longer fails with Access is denied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100