Skip to content

Fill the SharePoint property bag

AI translated from the German original

Automatically extend SharePoint sites with custom properties.

The property bag stores keys and values directly in the SharePoint site, e.g. organisation, template or cost centre. Scripts, search and other systems can use them to identify and evaluate sites, e.g. to apply individual retention policies via adaptive scopes.

  1. Open Groups → Templates → organisation → template → SharePoint.

  2. Under SharePoint property bag, click Enable if property bag updates are disabled.

    Enable turns on the tenant setting AllowWebPropertyBagUpdateWhenDenyAddAndCustomizePagesIsEnabled. This allows property bag values to be changed without allowing custom scripts on the site.

  3. Click Add property and enter Key and Value.

  4. Save the template.

Seamless writes the properties when the site is created and whenever an Apply template action runs. The values can be changed later using PowerShell.

Next steps

Learn more