Skip to main content

spo orgassetslibrary list

List all libraries that are assigned as asset library

Usage

m365 spo orgassetslibrary list [options]

Options

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See http://jmespath.org/ for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.

--verbose

Runs command with verbose logging.

--debug

Runs command with debug logging.

Remarks

info

To use this command you must be either SharePoint Administrator or Global Administrator.

Examples

List all libraries that are assigned as asset library

m365 spo orgassetslibrary list

Response

Standard response

{
"Url": "/",
"Libraries": [
{
"DisplayName": "Site Assets",
"LibraryUrl": "SiteAssets",
"ListId": "/Guid(0a327c3f-ba82-4b19-bfa1-628405539420)/",
"ThumbnailUrl": null
}
]
}

Response when no library is assigned as asset library

No libraries in Organization Assets
CTRL + M