Skip to content

m365 spo site classic list not returning all sites ? #2692

@lsavard

Description

@lsavard

Hi !

Been trying to get list of all sites. Running the command
m365 spo site classic list --includeOneDriveSites
returns about 1300 sites only.

There are many more sites than that in our tenant. Running the command
get-sposite -IncludePersonalSite $true -Limit all
returns more that 23000 sites.

Note that the command m365 onedrive list seems to be affected exactly in the same manner. In fact, this is how I noticed the problem. I am trying to get the list of all onedrives (around 11000 but command returning about 1100).

Thanks !

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions