Skip to content

spo cdn get

View current status of the specified Office 365 CDN


spo cdn get [options]


Option Description
--help output usage information
-t, --type [type] Type of CDN to manage. Public,Private. Default Public
--query [query] JMESPath query string. See for more information and examples
-o, --output [output] Output type. json,text. Default text
--pretty Prettifies json output
--verbose Runs command with verbose logging
--debug Runs command with debug logging


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


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.


Show if the Public CDN is currently enabled or not

spo cdn get

Show if the Private CDN is currently enabled or not

spo cdn get -t Private

More information