PnP.Framework ApplyProvisioningTemplate started failing
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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