Skip to content

aad siteclassification set

Updates site classification configuration

Usage

m365 aad siteclassification set [options]

Options

-c, --classifications [classifications]
Comma-separated list of classifications
-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 is full.
--query [query]
JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
Output type. json,text,csv,md. Default json
--verbose
Runs command with verbose logging
--debug
Runs command with debug logging

Examples

Update Microsoft 365 Tenant site classification configuration

m365 aad siteclassification set --classifications "High, Medium, Low" --defaultClassification "Medium"

Update only the default classification

m365 aad siteclassification set --defaultClassification "Low"

Update site classification with a usage guidelines URL

m365 aad siteclassification set --usageGuidelinesUrl "http://aka.ms/pnp"

Update site classification with usage guidelines URLs for guests and members

m365 aad siteclassification set --usageGuidelinesUrl "http://aka.ms/pnp" --guestUsageGuidelinesUrl "http://aka.ms/pnp"

More information