Enable-PnPSiteClassification

Enables Site Classifications for the tenant. Requires a connection to the Microsoft Graph.

Syntax

Enable-PnPSiteClassification
      -Classifications <String>
                                  -DefaultClassification <String>
                                  [-UsageGuidelinesUrl <String>]

Examples

------------------EXAMPLE 1------------------

Connect-PnPOnline -Scopes "Directory.ReadWrite.All"
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"

------------------EXAMPLE 2------------------

Connect-PnPOnline -Scopes "Directory.ReadWrite.All"
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.

Parameters

-Classifications
Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-DefaultClassification
Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-UsageGuidelinesUrl
Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False