2
votes

Are there any way where we can add metadata to a SharePoint online modern site collection, we would like to add either tags or property bag properties to the site collection and have search index these metadata much like indexed properties we had in earlier on prem site collections. Is this possible in any way using power shell, rest API or any other form of SharePoint API?

We had the opportunity in the old UI / on premise by add a propertybag entry and set it to "indexed".

1

1 Answers

0
votes

I think if in SP Online You disable NoScript using one of the methods mentioned here. You should be still able to add a property bag value to Site Collection using PnP Powershell method https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnppropertybagvalue?view=sharepoint-ps

with -Indexed switch param You make the property bag value indexed as You wanted