Skip to content

Enhancement: add option to get spo folder by id #3605

@martinlingstuyl

Description

@martinlingstuyl

About: https://pnp.github.io/cli-microsoft365/cmd/spo/folder/folder-get/

The spo folder get command allows you to get folders by server relative url.

For completeness I'd suggest we should also be able to get a folder by uniqueId, just like with the file-get command.

Option Description
-u, --folderUrl [folderUrl] The server-relative URL of the folder to retrieve. Specify either folderUrl or id but not both.
-i, --id [id] The UniqueId (GUID) of the folder to retrieve. Specify either folderUrl or id but not both.

In v6 folderUrl will be renamed to url to align with our naming convention.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions