pnp / pnp/pnpframework

PnP.Framework ApplyProvisioningTemplate started failing

Open
#690 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

Hi,

We are provisioning the Sharepoint site using PnP.Framework ApplyProvisioningTemplate(package SharePointPnPCoreOnline tried both versions 3.20.2004, 3.28.2012).
Recently we started getting problems with provisioning on some of our tenants Sharepoint sites:

  • tenantA - provisioning works fine since last year till now.
  • tenantB - provisioning was working fine till recently, now it fails
  • tenantC - provisioning fails

Error Details:
Based on debug logs it's failing on "Search Settings" part.

Message : Bad request: Please export a new search configuration firstly and then use it to import if you are improting a stale exported search configuration file
Exception type : Microsoft.SharePoint.Client.ServerException
Failed method : OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyRemoteTemplate

Regards

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyRemoteTemplate and the debug logs for the failing Search Settings step. Reproduce the provisioning behavior across the reported tenant cases and determine whether the stale search configuration error can be handled; done means the template provisions successfully without that failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.