Skip to content

[BUG] Set-PnPSearchConfiguration Error 'Bad request while trying to reach endpoint POST Call to Setting Type Bulk' #1328

@Laetterman

Description

@Laetterman

Hi

Today I had to re-use a script in which also Search Configurations are uploaded to Tenant or Site level. 2 weeks ago the script ran fine and today I have the error below... (nothing changed onb Script side :-()

Did MS changed the API (PnPPowershell has to be updaded) or is that a bug on MS side?
(i have tested with 1.8.0 and 1.8.31 nightly build)

Regards and thanks for your help
Marc

Expected behavior

Upload of Search Configuration to Tenant or Site level.

Actual behavior

Endpoint error
image

Steps to reproduce behavior

Info: worked 2 weeks ago. Nothing changed in the config file (xml).

$searchConfiguration = Get-Content -Path "./assets/configs/MOBI_Cloud_Rednet_SearchConfig.TENNANTLEVEL.xml" -Raw
Set-PnPSearchConfiguration -Configuration $searchConfiguration -Scope Subscription

What is the version of the Cmdlet module you are running?

tested on 1.8.0 and 1.8.31 nightly build

Which operating system/environment are you running PnP PowerShell on?

  • Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions