Skip to content

spo web clientsidewebpart list

Lists available client-side web parts

Usage

m365 spo web clientsidewebpart list [options]

Options

-u, --webUrl <webUrl>
URL of the site for which to retrieve the information
-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 full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Lists all the available client-side web parts for the specified site

m365 spo web clientsidewebpart list --webUrl https://contoso.sharepoint.com

Response

[ 
  {
    "Id": "9cc0f495-db64-4d74-b06b-a3de16231fe1",
    "Name": "9cc0f495-db64-4d74-b06b-a3de16231fe1",
    "Title": "Dashboard for Viva Connections"
  }
]
Id                                    Name                                  Title
------------------------------------  ------------------------------------  ------------------------------
9cc0f495-db64-4d74-b06b-a3de16231fe1  9cc0f495-db64-4d74-b06b-a3de16231fe1  Dashboard for Viva Connections
Id,Name,Title
9cc0f495-db64-4d74-b06b-a3de16231fe1,9cc0f495-db64-4d74-b06b-a3de16231fe1,Dashboard for Viva Connections