Sp-starter-kit: Null Value Issue on Team site creations for HR and Marketing

Created on 1 Jun 2020  路  10Comments  路  Source: pnp/sp-starter-kit

While running script line number:118 and 129 pnp:SiteCollection for team site creation, script is giving error as
Null value error on Apply-PnPTenantTemplate -Path yourstarterkit.pnp
Parameter: Description

Solution: Update the StaterKit.Xml with adddition of description parameter ,display name of Team Sites and ran powershell script again to convert Xml back to PnP Package.
$kit = Read-PnPTenantTemplate -Path ..\source\templates\starterkit.xml
Save-PnPTenantTemplate -Template $kit -Out yourstarterkit.pnp

provisioning answered SharePoint Online V2

All 10 comments

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

Thank you @alimughalx, I was getting a "value cannot be null" when provisioning the site collections. As you pointed out, filling the site descriptions and site titles in the startekit.xml file and then generating a new starterkit.pnp file solved my problem!

Thanks again!

Thank you @alimughalx, I was getting a "value cannot be null" when provisioning the site collections. As you pointed out, filling the site descriptions and site titles in the startekit.xml file and then generating a new starterkit.pnp file solved my problem!

Thanks again!

Glad to Help :)

Any chance @alimughalx or @ATJSM would be willing to submit the update starterkit.xml and starterkit.pnp files in a PR so we can merge in?

Created a PR with starterkit.xml . Don't able to upload pnp file.

@alimughalx Thanks, I will get this merged shortly and will promote the update to others that have had similar issues.

@alimughalx This fixed my deployment issue as well. Thanks for the update!

@alimughalx This fixed my deployment issue as well. Thanks for the update!

Welcome. Glad to hear.

@alimughalx Thanks, I will get this merged shortly and will promote the update to others that have had similar issues.

Bingo !

A recent set of commits are now included in the latest master branch. This should address the null value. Thanks go out to @alimughalx for submitting the PR.

Was this page helpful?
0 / 5 - 0 ratings