Open
Description
Reporting an Issue or Missing Feature
Issue / Documentation Issue
Expected behavior
The cmdlet correctly accepts both arguments, as per example 9.
Alternatively if this is not intended as a supported behaviour, the documentation should be updated to reflect this.
Actual behavior
Running with both InputInstance
and Path
arguments does not work.
Removing Path
resolves the issue.
> Invoke-PnPSiteTemplate -Path .\ -InputInstance $template
Invoke-PnPSiteTemplate: Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
Steps to reproduce behavior
- Create template with
-OutputInstance
to store in memory - Attempt to apply template with both
-InputInstance
and-Path
params.
What is the version of the Cmdlet module you are running?
2.12 - 3.1.72-nightly
Which operating system/environment are you running PnP PowerShell on?
- Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify