external help file | applicable | schema |
---|---|---|
SharePoint Online |
2.0.0 |
Updates Site Classifications for the tenant. Requires a connection to the Microsoft Graph.
Update-PnPSiteClassification [-Classifications <List`1>]
[-DefaultClassification <String>]
[-UsageGuidelinesUrl <String>]
Update-PnPSiteClassification -Settings <SiteClassificationsSettings>
PS:> Connect-PnPOnline -Scopes "Directory.ReadWrite.All"
PS:> Update-PnPSiteClassification -Classifications "HBI","Top Secret"
Replaces the existing values of the site classification settings
PS:> Connect-PnPOnline -Scopes "Directory.ReadWrite.All"
PS:> Update-PnPSiteClassification -DefaultClassification "LBI"
Sets the default classification value to "LBI". This value needs to be present in the list of classification values.
PS:> Connect-PnPOnline -Scopes "Directory.ReadWrite.All"
PS:> Update-PnPSiteClassification -UsageGuidelinesUrl http://aka.ms/sppnp
sets the usage guideliness URL to the specified URL.
A list of classifications, separated by commas. E.g. "HBI","LBI","Top Secret"
Type: List`1
Parameter Sets: Specific
Required: False
Position: Named
Accept pipeline input: False
The default classification to be used. The value needs to be present in the list of possible classifications
Type: String
Parameter Sets: Specific
Required: False
Position: Named
Accept pipeline input: False
A settings object retrieved by Get-PnPSiteClassification
Type: SiteClassificationsSettings
Parameter Sets: Settings
Required: True
Position: Named
Accept pipeline input: False
The UsageGuidelinesUrl. Set to "" to clear.
Type: String
Parameter Sets: Specific
Required: False
Position: Named
Accept pipeline input: False