Skip to content

Latest commit

 

History

History
77 lines (54 loc) · 1.64 KB

Enable-PnPSiteClassification.md

File metadata and controls

77 lines (54 loc) · 1.64 KB
external help file applicable schema
SharePoint Online
2.0.0

Enable-PnPSiteClassification

SYNOPSIS

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

SYNTAX

Enable-PnPSiteClassification -Classifications <List`1>
                             -DefaultClassification <String>
                             [-UsageGuidelinesUrl <String>]

EXAMPLES

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

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"

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

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.

PARAMETERS

-Classifications

Type: List`1
Parameter Sets: (All)

Required: True
Position: Named
Accept pipeline input: False

-DefaultClassification

Type: String
Parameter Sets: (All)

Required: True
Position: Named
Accept pipeline input: False

-UsageGuidelinesUrl

Type: String
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

RELATED LINKS

SharePoint Developer Patterns and Practices