1

in SharePoint Online I would like to map an handful of Managed properties (RefinableStringXX) to some Crawled properties by a PowerShell script to be faster than manual configuration but I didn't find any working examples for SPO.

Can this operation be managed by a PowerShell script in SPO or not?

  • Try to be a bit more specific. Your question confuses me. Also show your progress so far. – Anteino Dec 12 '19 at 16:35
  • @Anteino for example: I have a Content Type in SharePoint Online with a column named "DocumentType", I have to map "DocumentType" to "refinableString00" and I do by UI. But it is a slow method, particulary when you have more than one property to map and in case you have to repeat this action on more enviroments (development, test, production). And so I would like to perform this mapping by PowerShell script. – Emanuele Lacopo Dec 13 '19 at 09:36
  • @Anteino I don't have any progress because all code I've found use commandlet not valid for SPO as **Get-SPEnterpriseSearchMetadataManagedProperty** ( https://learn.microsoft.com/it-it/powershell/module/sharepoint-server/get-spenterprisesearchmetadatamanagedproperty?view=sharepoint-ps ) valid only for SharePoint Server. – Emanuele Lacopo Dec 13 '19 at 09:39
  • @EmanueleLacopo, did you get the script to map the properties? – Surendra Mourya Jul 24 '23 at 11:52

0 Answers0