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
When using Copy-PnPList is copying the wrong list. It copies the list in the first lookup column rather than the source list.
Actual behavior
Copy-PnPList -Identity [List Name or GUID] -Title [New Title] will create a list with the new title but it will copy the list of the first lookup field.
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
What is the version of the Cmdlet module you are running?
2.1.1
Which operating system/environment are you running PnP PowerShell on?
[X ] Windows
Linux
MacOS
Azure Cloud Shell
Azure Functions
Other : please specify
The text was updated successfully, but these errors were encountered:
This happens by the way because GetSiteScriptFromList() returns both lists and the current PnP PowerShell implementation renames them both, with the first one being created.
Reporting an Issue or Missing Feature
Reporting a bug
Expected behavior
When using Copy-PnPList is copying the wrong list. It copies the list in the first lookup column rather than the source list.
Actual behavior
Copy-PnPList -Identity [List Name or GUID] -Title [New Title] will create a list with the new title but it will copy the list of the first lookup field.
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
What is the version of the Cmdlet module you are running?
2.1.1
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: