I am attempting to export the definition of all managed properties for am online site collection. The connection to the site works find and SharePointPnPPowerShellOnline
returns an object, but it contains only one value. The CompleteXML
option also return only one result.
FWIW, the Admin ran the export option for in the Admin Center and as expected on the Subscript level properties appeared , and in CompleteXML
format.
Here is what I ran and the results: The code is pretty much a single line
Connect-PnPOnline -Url $web -Credentials $mycreds
$ssa = Get-PnPSearchConfiguration -Scope Site -OutputFormat ManagedPropertyMappings
Write-Host $ssa
Name Aliases Mappings Type RefinableString10 {TitleRS} {Title} Text