import Global from '../../_global.mdx'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
List CDN origins settings for the current SharePoint Online tenant
m365 spo cdn origin list [options]`-t, --type [type]`
: Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.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.
:::info
To use this command you must be either SharePoint Administrator or Global Administrator.
:::
Show the list of origins configured for the Public CDN.
m365 spo cdn origin listShow the list of origins configured for the Private CDN.
m365 spo cdn origin list --type Private[
"*/MASTERPAGE",
"*/STYLE LIBRARY",
"*/CLIENTSIDEASSETS"
]*/MASTERPAGE
*/STYLE LIBRARY
*/CLIENTSIDEASSETS
*/MASTERPAGE
*/STYLE LIBRARY
*/CLIENTSIDEASSETS*/MASTERPAGE
*/STYLE LIBRARY
*/CLIENTSIDEASSETS- Use Microsoft 365 CDN with SharePoint Online: https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide