-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Needs: Triage 🔍Awaiting categorization and initial review.Awaiting categorization and initial review.sharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.type:invalid-not-dev-issueThis repo+issue list is for SharePoint development topics. Non-dev issues will be closed.This repo+issue list is for SharePoint development topics. Non-dev issues will be closed.
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
not applicable
Developer environment
Windows
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
- browser version
- SPFx version
- Node.js version
- etc
Describe the bug / error
When using Pnp command to update the Classification of the modern site , this is not happening. These are not MIP label these are classic azure Ad directory object.
Steps to reproduce
1.Connect-PnPOnline -Url "SiteUrl" -ClientId $AppID -ClientSecret $AppSecret
$a =Get-PnPSite
2.$a.Classification
Confidential
3.erro:
Set-PnPSite -Classification "Confidential"
Set-PnPSite : Specified method is not supported.
At line:1 char:1
- Set-PnPSite -Classification "Confidential"
-
+ CategoryInfo : WriteError: (:) [Set-PnPSite], ServerException + FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.Site.SetSite
Expected behavior
It should set the Confidential as classification for the site.
Metadata
Metadata
Assignees
Labels
Needs: Triage 🔍Awaiting categorization and initial review.Awaiting categorization and initial review.sharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.type:invalid-not-dev-issueThis repo+issue list is for SharePoint development topics. Non-dev issues will be closed.This repo+issue list is for SharePoint development topics. Non-dev issues will be closed.