Skip to content

[BUG] Copy-PnPList Copies the list of the first Lookup field instead of the source list #3866

@mstrblueskys

Description

@mstrblueskys

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?

  • [X ] Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions