Enable-PnPSiteClassification
SYNOPSIS
Required Permissions
- Microsoft Graph API: Directory.ReadWrite.All
Enables Site Classifications for the tenant
SYNTAX
Enable-PnPSiteClassification -Classifications <System.Collections.Generic.List`1[System.String]>
-DefaultClassification <String> [-UsageGuidelinesUrl <String>]
DESCRIPTION
Allows to enable site classifications for the tenant.
EXAMPLES
EXAMPLE 1
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
Enable-PnPSiteClassification -Classifications "HBI","LBI","Top Secret" -UsageGuidelinesUrl https://aka.ms/m365pnp
Enables Site Classifications for your tenant and provides three classification values. The usage guidelines will be set to the specified URL.
PARAMETERS
-Classifications
Type: System.Collections.Generic.List`1[System.String]
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DefaultClassification
Type: String
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UsageGuidelinesUrl
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False