SharePoint Online - Map crawled properties to managed properties using PowerShell

292 Views Asked by At

I want to map Crawled Properties to the Managed Properties using PowerShell for SharePoint Online. I have created a site column "ExcludeContent" and added to the list and now I have Managed Property "ExcludeContent" and I want to map it to Crawled Properties  "ows_ExcludeContent". I've found Get-SPEnterpriseSearchMetadataManagedProperty but it is valid only for SharePoint Server. Can we achieve it using PowerShell ?

1

There are 1 best solutions below

0
EchoDu_MSFT On

According to my research and testing, we cannot build the mapping relationship between crawled properties and managed properties through powershell commands in SharePoint Online.

Beacause the "Get-SPEnterpriseSearchMetadataManagedProperty" only for SharePoint Server.

Reference: