spo cdn origin remove¶
Removes CDN origin for the current SharePoint Online tenant
Usage¶
m365 spo cdn origin remove [options]
Options¶
-t, --type [type]
- Type of CDN to manage.
Public,Private
. DefaultPublic
-r, --origin <origin>
- Origin to remove from the current CDN configuration
--confirm
- Don't prompt for confirming removal of a tenant property
-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 isfull
. --query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text,csv,md
. Defaultjson
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Important
To use this command you have to have permissions to access the tenant admin site.
Remarks¶
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.
Examples¶
Remove */CDN from the list of origins of the Public CDN
m365 spo cdn origin remove --type Public --origin */CDN
More information¶
- Use Microsoft 365 CDN with SharePoint Online: https://learn.microsoft.com/microsoft-365/enterprise/use-microsoft-365-cdn-with-spo?view=o365-worldwide