Skip to content

Bug report: can't update url to a linkless label with "spo navigation node set" #5228

@Jwaegebaert

Description

@Jwaegebaert

Priority

(Low) Something is a little off

Description

For the command spo navigation node set, the docs mention that you can pass an empty string "" in the option --url but this doesn't work when you only want to update the URL.

Steps to reproduce

Use the command spo navigation node set as follows:

m365 spo navigation node set --webUrl https://contoso.sharepoint.com/sites/marketing --id 2209 --url ""

Expected results

Updates the navigation node to a linkless label.

Actual results

You receive the following error: Please specify atleast one property to update.

Diagnostics

No response

CLI for Microsoft 365 version

6.9.0

nodejs version

18.16.0

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions