external help file | applicable | schema |
---|---|---|
SharePoint Online |
2.0.0 |
Enables Site Classifications for the tenant. Requires a connection to the Microsoft Graph.
Enable-PnPSiteClassification -Classifications <List`1>
-DefaultClassification <String>
[-UsageGuidelinesUrl <String>]
PS:> Connect-PnPOnline -Scopes "Directory.ReadWrite.All"
PS:> Enable-PnPSiteClassification -Classifications "HBI","LBI","Top Secret" -DefaultClassification "LBI"
Enables Site Classifications for your tenant and provides three classification values. The default value will be set to "LBI"
PS:> Connect-PnPOnline -Scopes "Directory.ReadWrite.All"
PS:> Enable-PnPSiteClassification -Classifications "HBI","LBI","Top Secret" -UsageGuidelinesUrl http://aka.ms/sppnp
Enables Site Classifications for your tenant and provides three classification values. The usage guideliness will be set to the specified URL.
Type: List`1
Parameter Sets: (All)
Required: True
Position: Named
Accept pipeline input: False
Type: String
Parameter Sets: (All)
Required: True
Position: Named
Accept pipeline input: False
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False