Skip to content

Bug report: Teams clone - Error: Specify one of the following options: id, name, but not multiple. #5451

@mmcveigh80

Description

@mmcveigh80

Priority

(Low) Something is a little off

Description

Issue with m365 teams team clone

m365 teams team clone --id 5b9232ee-8b7f-4a52-a089-aac25731fdf9 --name "(2024) Testtest" --partsToClone "apps,tabs,settings,channels,members"

Error: Specify one of the following options: id, name, but not multiple.

Steps to reproduce

checked I have the latest

npm install -g @pnp/cli-microsoft365@latest

Expected results

As mentioned about the syntax was a straight copy from your example only change was the id and name

Actual results

Error: Specify one of the following options: id, name, but not multiple.

Diagnostics

No response

CLI for Microsoft 365 version

v6.11.0

nodejs version

v18.17.1

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions