SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,824 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
Can I create a managed property using pnp or powershell in SharePoint online
Hi anonymous user,
In SharePoint Online, there's no command to directly create Manged property using PowerShell/pnp. Here is a similar question for your reference: https://techcommunity.microsoft.com/t5/sharepoint-developer/pnp-powershell-gt-howto-create-or-edit-a-managed-property/m-p/131098
You could try this way:
- Setup your search configuration via the SharePoint interface.
- Export as XML (via the UI or using the PnP cmdlet get-pnpsearchconfiguration)
- Import your configuration via the PnP cmdlet set-pnpsearchconfiguration in an other site collection.