entra siteclassification enable
Enables site classification configuration
Usage
m365 entra siteclassification enable [options]
Options
-c, --classifications <classifications>
Comma-separated list of classifications to enable in the tenant.
-d, --defaultClassification <defaultClassification>
Classification to use by default.
-u, --usageGuidelinesUrl [usageGuidelinesUrl]
URL with usage guidelines for members.
-g, --guestUsageGuidelinesUrl [guestUsageGuidelinesUrl]
URL with usage guidelines for guests.
-h, --help [help]
Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are
options
,examples
,remarks
,response
,full
. Default isoptions
.--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples.
-o, --output [output]
Output type.
json
,text
,csv
,md
,none
. Defaultjson
.--verbose
Runs command with verbose logging.
--debug
Runs command with debug logging.
Examples
Enable site classification.
m365 entra siteclassification enable --classifications "High, Medium, Low" --defaultClassification "Medium"
Enable site classification with a usage guidelines URL.
m365 entra siteclassification enable --classifications "High, Medium, Low" --defaultClassification "Medium" --usageGuidelinesUrl "http://aka.ms/pnp"
Enable site classification with usage guidelines URLs for guests and members.
m365 entra siteclassification enable --classifications "High, Medium, Low" --defaultClassification "Medium" --usageGuidelinesUrl "http://aka.ms/pnp" --guestUsageGuidelinesUrl "http://aka.ms/pnp"
Response
The command won't return a response on success.
More information
- SharePoint "modern" sites classification: https://learn.microsoft.com/sharepoint/dev/solution-guidance/modern-experience-site-classification