Skip to content

Commit 4b60d69

Browse files
committed
Updated example with M365 LP solution
1 parent c1bc6db commit 4b60d69

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/solution-guidance/applying-pnp-templates.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,16 @@ Invoke-PnPSiteTemplate -Path .\your-template-file.pnp -Parameters @{"SiteTitle"=
116116
Replace \<tenant\> with the actual name of your SharePoint Online tenant in Microsoft 365.
117117
Remember to provide a value for all the parameters declared in the above table.
118118

119+
#### Example script for applying Learning Pathways solution
120+
121+
This is how the PowerShell script is for applying the Learning Pathways solution which only has the `SiteUrl` parameter and the pnp file for the Learning Pathways is located in the *c:\temp* folder and you want to target to previously created site with URL of */sites/M365LP*.
122+
123+
```powershell
124+
Connect-PnPOnline https://<tenant>-admin.sharepoint.com/
125+
126+
Invoke-PnPSiteTemplate -Path c:\temp\M365LP.pnp -Parameters @{"SiteUrl"="/sites/M365LP"}
127+
```
128+
119129
## Next Steps
120130

121131
Now that the look book template is provisioned on your tenant, feel free to browse to the site URL that you selected and play with the new site.

0 commit comments

Comments
 (0)