Permission & Access Issues

Fix SharePoint Online Public CDN Access Denied Errors

Algirdas JasaitisAlgirdas Jasaitis Nov 14, 2026 868 views

Question details

Find a working public CDN URL for an asset after configuring a SharePoint Online public CDN origin.

Product
SharePoint Online public CDN
Device & OS
not provided
Scenario
A public CDN origin has been configured, and the user wants to access an asset through the CDN.
Observed behavior
Browsing directly to the public CDN host returns Access Denied, and the asset URL may not be available until configuration processing is complete.
Before you start

Identify the full SharePoint URL of an asset in the configured public CDN origin. Confirm that the asset is intended for public distribution and that you can access it in SharePoint.

Solution 1Recommended

Generate an asset-specific SharePoint public CDN URL

Use the SharePoint public CDN endpoint to retrieve the generated URL for a specific asset instead of browsing to the CDN host.

1
Identify the asset URL

Open the asset in SharePoint and copy its full URL, including the tenant, site, library, folders, and file name.

2
Request the CDN URL

In a browser, open https://contoso.sharepoint.com/_vti_bin/publiccdn.ashx/url?itemurl=https://contoso.sharepoint.com/siteassets/folder1/folder2/image.jpg. Replace both tenant references and the asset path with your own values.

3
Open the generated URL

Check the endpoint response for a URL resembling https://publiccdn.sharepointonline.com/contoso.sharepoint.com/identifier/folder2/image.jpg, then open that returned URL in your browser.

4
Allow configuration to propagate

If no CDN URL is returned, wait for SharePoint to finish processing the public CDN configuration and retry the endpoint. If the issue persists, check the origin configuration and Microsoft’s public CDN documentation.

Generate an asset-specific SharePoint public CDN URL
Use public origins only for public assets: Content served through a public CDN is intended for public access. Do not place sensitive files in a public CDN origin.
Free Microsoft Office alternative

Work with downloaded SharePoint documents in WPS Office

WPS Office is a free, lightweight alternative with a familiar interface for working on compatible documents downloaded from SharePoint. It does not configure or repair SharePoint CDN access.

Open and edit compatible files downloaded from SharePointCompatibility with Microsoft Office formats, including DOCX, XLSX, and PPTXFamiliar tools that make migration from Microsoft Office easierA lightweight office suite with free editing tools
microsoft office alternative - wps office

Frequently Asked Questions

Why does the public CDN host show Access Denied?

The CDN host is not the asset-specific URL. Use the SharePoint public CDN endpoint with the itemurl parameter to request the generated URL for a file.

What should I do if the endpoint does not return a CDN URL?

Allow time for the CDN configuration to propagate, then retry the endpoint. If it still fails, check that the asset is in the configured public origin and review Microsoft’s public CDN documentation.

Can I use a public CDN for confidential files?

No. A public CDN origin is intended for publicly accessible content. Keep confidential files out of public origins.

Can WPS Office fix a SharePoint CDN Access Denied error?

No. The CDN configuration and URL must be checked in SharePoint Online. WPS Office can help you work with compatible documents after you download them.