You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Connect-PnPOnline connecting to the tenant admin site and create site collections which will be applied a pnp template by calling Invoke-PnPTenantTemplate. I could not find -Identity or -Url to specify the site collection. Since I'm creating and applying the templates in bulk and it would not be a good idea to authenticate for every new site created.
For example:
Invoke-PnPTenantTemplate -Identity $NewSite -Path $TemplatePath
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I use Connect-PnPOnline connecting to the tenant admin site and create site collections which will be applied a pnp template by calling Invoke-PnPTenantTemplate. I could not find -Identity or -Url to specify the site collection. Since I'm creating and applying the templates in bulk and it would not be a good idea to authenticate for every new site created.
For example:
Invoke-PnPTenantTemplate -Identity $NewSite -Path $TemplatePath
Thanks,
Alex
Beta Was this translation helpful? Give feedback.
All reactions