Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

New-PnPSite - Support to set sensitivity label #2699

Closed
matsla opened this issue May 29, 2020 · 9 comments
Closed

New-PnPSite - Support to set sensitivity label #2699

matsla opened this issue May 29, 2020 · 9 comments
Assignees
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability

Comments

@matsla
Copy link

matsla commented May 29, 2020

When create a new site using New-PnPSite it possible to set classification using -Classification.

When you enable the preview with support to set sensitivity labels below. Microsoft 365 no longer supports the old classifications.
https://docs.microsoft.com/en-us/microsoft-365/compliance/sensitivity-labels-teams-groups-sites?view=o365-worldwide

Is it possble to use New-PnPSite and set the sensitivity label?
If not when will it be supported in PnP?

@ghost
Copy link

ghost commented May 29, 2020

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

@ghost ghost added the Needs: Triage 🔍 label May 29, 2020
@gautamdsheth
Copy link
Contributor

@KoenZomers / @erwinvanhunen - can I please pick this up ?

@KoenZomers
Copy link
Collaborator

@gautamdsheth, sure, by all means please go ahead and create a PR for it.

@matsla
Copy link
Author

matsla commented May 29, 2020

@gautamdsheth will this PR also include updates to set sensitivity label using PnP Core library. We have done a lot of customizations using this library and need this functionallity when the preview is GA.

@KoenZomers
Copy link
Collaborator

@gautamdsheth Can you provide an update where you stand with regards to this PR? Next PnP PowerShell release is scheduled for next Tuesday.

@KoenZomers KoenZomers self-assigned this Jun 5, 2020
@KoenZomers KoenZomers added status:working-on-it Known issue / feature being addressed. Will use other "status:*" labels & comments for more detail. and removed Needs: Triage 🔍 labels Jun 5, 2020
@gautamdsheth
Copy link
Contributor

Hey @KoenZomers , have added support for this in the core library. Can I send a PR during the weekend, hope that's fine ?

@KoenZomers
Copy link
Collaborator

Sure. Can you please mention your PnP Sites Core reference here to keep things together? Just copy in the URL of this issue into your PR at PnP Sites Core or copy in the URL to the PR in this issue thread.

@gautamdsheth
Copy link
Contributor

Hey @KoenZomers , sure.
URL of the PR is as below, it has been merged in the dev branch:

pnp/PnP-Sites-Core#2668

@KoenZomers KoenZomers added status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability and removed status:working-on-it Known issue / feature being addressed. Will use other "status:*" labels & comments for more detail. labels Jun 8, 2020
@KoenZomers
Copy link
Collaborator

This has just been merged and will be released in the June 2020 release which will come out tomorrow. I'm closing this issue. If it turns out it doesn't work well in the June 2020 release or it doesn't work as you intended, feel free to reopen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status:fixed-next-drop Issue will be fixed in upcoming release. type:enhancement New feature or enhancement of existing capability
Projects
None yet
Development

No branches or pull requests

3 participants