Skip to content

Commit 266cc2b

Browse files
committed
Updated applying-pnp-templates.md to fix an issue
1 parent c3b7e68 commit 266cc2b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ In order to execute the actual provisioning, you need to execute a PowerShell cm
9393
Download the `.PNP` template file that you want to provision, save it in a local folder, and run the following PowerShell command:
9494

9595
```powershell
96-
Connect-PnPOnline https://<tenant>-admin.sharepoint.com/ -Interactive
96+
Connect-PnPOnline https://<tenant>.sharepoint.com/sites/<URL-of-your-target-site> -Interactive
9797
9898
Invoke-PnPTenantTemplate -Path .\your-template-file.pnp -Parameters @{"SiteTitle"="<Title-of-your-target-site>";"SiteUrl"="/sites/<URL-of-your-target-site>"}
9999
```
@@ -108,7 +108,7 @@ Remember to provide a value for all the parameters declared in the above table.
108108
Download the `.PNP` template file that you want to provision, save it in a local folder, and run the following PowerShell command:
109109

110110
```powershell
111-
Connect-PnPOnline https://<tenant>-admin.sharepoint.com/
111+
Connect-PnPOnline https://<tenant>.sharepoint.com/sites/<URL-of-your-target-site> -Interactive
112112
113113
Invoke-PnPSiteTemplate -Path .\your-template-file.pnp -Parameters @{"SiteTitle"="<Title-of-your-target-site>";"SiteUrl"="/sites/<URL-of-your-target-site>"}
114114
```

0 commit comments

Comments
 (0)