Commands › SharePoint Online
Remove-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. This cmdlet is used to remove a value in the property bag.
Quick start script
# Remove-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
Remove-SPOStorageEntity -Key <String> -Site <SpoSitePipeBind>
# 4. Verify and diff
$after = Get-SPOStorageEntity
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Remove-SPOStorageEntity [-Site] <SpoSitePipeBind> [-Key] <String> [<CommonParameters>]
Parameters (2)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.