I would like to add an indexed property bag value to some of my SharePoint Sites that is called "former names". I would like to add multiple string values or an array of string values under the one key.
Set-PnPPropertyBagValue only accepts String from the docs: Set-PnPPropertyBagValue.
Something to the effect of:
Set-PnPPropertyBagValue -Key "former names" -Value ["joe", "jane"] -Indexed
Set-PnPPropertyBagValue -Key "former names" -Value "joe, jane" -Indexed
I want to avoid a situation where I set multiple keys like this "former name 1", "former name 2".
Thanks in advance.