Engine tokens are not used with Add-PnPDataRowsToSiteTemplate
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the Add-PnPDataRowsToSiteTemplate command documented in sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPDataRowsToSiteTemplate.md, then reproduce the flow using a template from Get-PnPSiteTemplate. Compare token handling for site groups with token handling when adding data rows. Done means the same engine tokens are resolved consistently when creating a new site.
Written by the indexing model from the issue text.
Description
When using Get-PnPSiteTemplate, in the template, tokens are used to make the sitegroups more generic :
- {groupsitetitle}
- {groupsitename}
- {associatedownergroupid}
- ...


Works like a charm, however those tokens are not used when adding datarows with Add-PnPDataRowsToSiteTemplate to the same template, making it inconsistent and unusable when creating a new site.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: e5b1f7fc-f25b-3ae7-550f-dbda983bb508
- Version Independent ID: 4dc444d7-ca83-1930-61a8-73e3cd75d29f
- Content: Add-PnPDataRowsToSiteTemplate (PnP.Powershell)
- Content Source: sharepoint/sharepoint-ps/sharepoint-pnp/Add-PnPDataRowsToSiteTemplate.md
- Service: sharepoint-powershell
- GitHub Login: @pamgreen-msft
- Microsoft Alias: pamgreen
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
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.
More from pnp/pnpframework
-
area: provisioning ⚙
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pnp/pnpframework#1274 ·
-
area: provisioning ⚙
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pnp/pnpframework#1269 ·
-
area: provisioning ⚙
Difficulty 1/5 Under an hour Newbie friendliness 72/100
pnp/pnpframework#1170 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
pnp/pnpframework#913 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
pnp/pnpframework#1283 ·
All issues in pnp/pnpframework
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100