Hi
First, I added 2 apps in my App Catalog
I have managed to add 2 apps using this PNP Template at the Site Collection Level with Apply-PnPProvisioningTemplate Command.
Then I tried to do the same thing at the Sub Site level with the same PNP Template except that I have changed the Scope Value to "Web".
But It did not work.
Did I do something wrong ?
Regards
Which version of the PnP-PowerShell Cmdlets are you using?
[ ] PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
3.9.1905.1
How did you install the PnP-PowerShell Cmdlets?
[ ] Installed through the PowerShell Gallery with Install-Module
Expected behavior
Hi First, I added 2 apps in my App Catalog I have managed to add 2 apps using this PNP Template at the Site Collection Level with Apply-PnPProvisioningTemplate Command.
<?xml version="1.0"?> <pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2019/03/ProvisioningSchema"> <pnp:Preferences Generator="OfficeDevPnP.Core, Version=3.9.1905.1, Culture=neutral, PublicKeyToken=5e633289e95c321a" /> <pnp:Templates ID="CONTAINER-TEMPLATE-0A1917EC9D034839B35926CA424437AC"> <pnp:ProvisioningTemplate ID="TEMPLATE-0A1917EC9D034839B35926CA424437AC" Version="1" BaseSiteTemplate="STS#3" Scope="RootSite"> <pnp:ApplicationLifecycleManagement> <pnp:Apps> <pnp:App AppId="a575ca2d-ef4f-4a52-b32b-c55376d94e86" Action="Install" /> <pnp:App AppId="85b2ef88-43ae-470c-8864-8ffaa737eae4" Action="Install" /> </pnp:Apps> </pnp:ApplicationLifecycleManagement> </pnp:ProvisioningTemplate> </pnp:Templates> </pnp:Provisioning>
Then I tried to do the same thing at the Sub Site level with the same PNP Template except that I have changed the Scope Value to "Web". But It did not work. Did I do something wrong ?
Regards
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.9.1905.1
How did you install the PnP-PowerShell Cmdlets?