Get-TenantCdnPolicies-Html
SharePoint Online: HTML report of tenant CDN policies
#Requires -Version 5.1
#Requires -Modules Microsoft.Online.SharePoint.PowerShell
[CmdletBinding()]
Param(
[Parameter(Mandatory = $true)]
[ValidateSet('Public','Private')]
[string]$CdnType
)
Process {
try {
$result = Get-SPOTenantCdnPolicies -CdnType $CdnType -ErrorAction Stop | Select-Object *
Write-Output ($result | ConvertTo-Html -Fragment)
}
catch { throw }
}CDN type: Public or Private