Skip to main content

spo cdn get

View current status of the specified Microsoft 365 CDN


m365 spo cdn get [options]


-t, --type [type]

Type of CDN to manage. Allowed values Public, Private. Default Public.

-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 options.

--query [query]

JMESPath query string. See for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. Default json.


Runs command with verbose logging.


Runs command with debug logging.


Using the -t, --type option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.


To use this command you have to have permissions to access the tenant admin site.


Show if the Public CDN is currently enabled or not.

m365 spo cdn get

Show if the Private CDN is currently enabled or not.

m365 spo cdn get --type Private

More information