CDN configuration @Sharepoint Online

Anonymous
2023-04-11T06:00:11.6166667+00:00

Dear Community,   I have configured public CDN for our Sharepoint Online few days ago but it doesn't work. Attached Sharepoint configuration screenshots. I found 2 different methods of enabling public CDN, so I have done both as I have attached in pictures.   Here is my link to my actual folder: https://citiedu.sharepoint.com/sites/Socialmediapublisher/PublicCDN/555.jpg   And here is my test to public URI, which is returning false: https://citiedu.sharepoint.com/%20_vti_bin/publiccdn.ashx/url?itemurl=https://citiedu.sharepoint.com...   Thank you very much, 123456

1234567

Microsoft 365 and Office | SharePoint | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rob Windsor 2,006 Reputation points
    2023-04-11T12:44:35.62+00:00

    I think this resource will help you: How do I confirm that assets are being served by the CDN?

    You cannot test CDN URLs directly in a web browser because you must have a referrer coming from SharePoint Online. However, if you add the CDN asset URL to a SharePoint page and then open the page in a browser, you will see the CDN asset rendered on the page.

    User's image

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.