Get-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 get a value in the property bag.

Syntax

Get-SPOStorageEntity
   [-Site] <SpoSitePipeBind>
   [-Key] <string>
   [<CommonParameters>]

Description

Use this cmdlet to get a value in the property bag.

Examples

Example 1

Get-SPOStorageEntity -Site "https://tenant-name.sharepoint.com/sites/app-catalog" -Key "MyCustomValues"

This example returns the whole entry in the property bag.

Parameters

-Key

The key in the property bag that should be returned.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online

-Site

URL to the tenant or site collection app catalog.

Type:SpoSitePipeBind
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online