Skip to content

Latest commit

 

History

History
98 lines (67 loc) · 2.08 KB

File metadata and controls

98 lines (67 loc) · 2.08 KB

import Global from '../../_global.mdx'; import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

spo cdn policy list

Lists CDN policies settings for the current SharePoint Online tenant

Usage

m365 spo cdn policy list [options]

Options

`-t, --cdnType [cdnType]`
: Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.

Remarks

Using the -t, --cdnType 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.

:::

Examples

Show the list of policies configured for the Public CDN.

m365 spo cdn policy list

Show the list of policies configured for the Private CDN.

m365 spo cdn policy list --cdnType Private

Response

[
  {
    "Policy": "IncludeFileExtensions",
    "Value": "CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON"
  }
]
Policy                                Value
------------------------------------  -----------------------------------------------------
IncludeFileExtensions                 CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON
Policy,Value
IncludeFileExtensions,"CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON"
# spo cdn policy list

Date: 10/2/2023

Property | Value
---------|-------
Policy | IncludeFileExtensions
Value | CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,JSON

More information