spo storageentity get
Get details for the specified tenant property
Usage
m365 spo storageentity get [options]
Options
-k, --key <key>
Name of the tenant property to retrieve
-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
Tenant properties are stored in the app catalog site associated with the site to which you are currently connected. When retrieving the specified tenant property, SharePoint will automatically find the associated app catalog and try to retrieve the property from it.
Examples
Show the value, description and comment of the AnalyticsId tenant property
m365 spo storageentity get -k AnalyticsId
Response
- JSON
- Text
- CSV
- Markdown
{
"Key": "AnalyticsId",
"Value": "123",
"Description": "Web analytics ID",
"Comment": "Use on all sites"
}
Comment : Use on all sites
Description: Web analytics ID
Key : AnalyticsId
Value : 123
Key,Value,Description,Comment
AnalyticsId,123,Web analytics ID,Use on all sites
# spo storageentity get --key "AnalyticsId"
Date: 2023-06-22
Property | Value
---------|-------
Key | AnalyticsId
Value | 123
Description | Web analytics ID
Comment | Use on all sites
More information
- SharePoint Framework Tenant Properties: https://learn.microsoft.com/sharepoint/dev/spfx/tenant-properties