Commands › SharePoint Online
Set-SPOStorageEntity
Tenant properties allow tenant administrators to add properties in the app catalog that can be read by various SharePoint Framework components. Because tenant properties are stored in the tenant app catalog, you must provide the tenant app catalog site collection URL or the site collection app catalog URL in the following cmdlets.
Quick start script
# Set-SPOStorageEntity — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-SPOStorageEntity
$before | Format-List
# 3. Make the change (dry run first)
Set-SPOStorageEntity -Comments <String> -Description <String> -Key <String> -WhatIf
Set-SPOStorageEntity -Comments <String> -Description <String> -Key <String>
# 4. Verify and diff
$after = Get-SPOStorageEntity
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Set-SPOStorageEntity -Site <SpoSitePipeBind> -Key <String> -Value <String> -Comments <String>
-Description <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.