Skip to content

Bug report: spo list list --query on BaseTemplate fails #1667

@sebastianrogers

Description

@sebastianrogers

Description

The command below fails to return any lists

o365 spo list list --webUrl https://organisation.sharepoint.com/sites/site --query '[?BaseTemplate==`101`]'

The following one does

o365 spo list list --webUrl https://beisgov.sharepoint.com/sites/1919708 --query '[?Title==`Documents`]'

Steps to reproduce

o365 spo list list --webUrl https://organisation.sharepoint.com/sites/site --query '[?BaseTemplate==`101`]'

Expected result

Id :
Title: Documents
Url : /sites/site/Shared Documents

Actual result

Nothing returned

Environment

Azure Cloud Shell
o365 version: 2.10.0
bash version: 4.3.48(1)-release

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions