Default Sensitivity Label not apply with XML Provsionning
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
Hi all,
We have a model site that serve as a editable template where we update the setting of it. We then export the pnp provisioning XML template that we can re-apply it to other site. This work pretty well except for the "default sensitivity label".
We see that the option of "Default sensitivity label" that we can find in the library setting is not set on the destination site where we applied the template extract from the model site.

Is it possible that this setting is not yet available in pnpFramework. I see that the pnpPowerShell have to option in the Set-pnpList ( https://pnp.github.io/powershell/cmdlets/Set-PnPList.html#-defaultsensitivitylabelforlibrary )
Thank you
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 the PnP provisioning engine's handling of library settings and compare it with the Set-PnPList -DefaultSensitivityLabelForLibrary behavior referenced in the issue. Confirm whether the default sensitivity label is represented in the exported XML and whether applying that XML updates the destination library; done means the setting transfers from the model site.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100