spo app list
Lists apps from the specified app catalog
Usage
m365 spo app list [options]
Options
-s, --appCatalogScope [appCatalogScope]
Target app catalog.
tenant,sitecollection
. Defaulttenant
-u, --appCatalogUrl [appCatalogUrl]
URL of the tenant or site collection app catalog. It must be specified when the scope is
sitecollection
-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 isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Remarks
When listing information about apps available in the tenant app catalog, it's not necessary to specify the tenant app catalog URL. When the URL is not specified, the CLI will try to resolve the URL itself. Specifying the app catalog URL is required when you want to list information about apps in a site collection app catalog.
When specifying site collection app catalog, you can specify the URL either with our without the AppCatalog part, for example https://contoso.sharepoint.com/sites/team-a/AppCatalog
or https://contoso.sharepoint.com/sites/team-a
. CLI will accept both formats.
When using the text output type (default), the command lists only the values of the Title
, ID
, Deployed
and AppCatalogVersion
properties of the app. When setting the output type to JSON, all available properties are included in the command output.
Examples
Return the list of available apps from the tenant app catalog. Show the installed version in the site if applicable.
m365 spo app list
Return the list of available apps from a site collection app catalog of site https://contoso.sharepoint.com/sites/site1.
m365 spo app list --appCatalogScope sitecollection --appCatalogUrl https://contoso.sharepoint.com/sites/site1
More information
- Application Lifecycle Management (ALM) APIs: https://docs.microsoft.com/en-us/sharepoint/dev/apis/alm-api-for-spfx-add-ins