SOLVED
Home

Office 365 CDN Not working. File not found.

Highlighted
Luis Valencia
MVP

Office 365 CDN Not working. File not found.

I enabled CDN via powershell as explained here: https://dev.office.com/blogs/office-365-public-cdn-developer-preview-release

 

According to the documentation I need to wait 15 minutes, its been more than 24 hours and I get File not found error.

 

I created a support request and they said its not their scope of support, I know this is in developer preview, but at least it should partially work :), I have another colleague with same error on his tenant.

12 Replies

Re: Office 365 CDN Not working. File not found.

Have you checked if the extension of your file is amongst the extensions enabled for your CDN?

Re: Office 365 CDN Not working. File not found.

Yes

 

 

Get-SPOTenant

PublicCdnEnabled : True
PublicCdnAllowedFileTypes : CSS,EOT,GIF,ICO,JPEG,JPG,JS,MAP,PNG,SVG,TTF,WOFF,TXT
PublicCdnOrigins : {196900703a5fd93f5cdb58e9403464e64ee17ebea5ba179a06bb41c03e2c212a53c28ca8,
170500695f4a7bd9fb0bee6a62bd9e240520bb6c6914c7c0a0d45c24a0c38cd352133cb4}

 

 

 

 

PS C:\WINDOWS\system32> Get-SPOPublicCdnOrigins
Id Url
-- ---
196900703a5fd93f5cdb58e9403464e64ee17ebea5ba179a06bb41c03e2c212a53c28ca8 HTTPS://xx.SHAREPOINT.COM/SITES/CDN/SPFXASSETSDEVELOPMENT


170500695f4a7bd9fb0bee6a62bd9e240520bb6c6914c7c0a0d45c24a0c38cd352133cb4 HTTPS://xx.SHAREPOINT.COM/SITES/CDN/SPFXASSETSPRODUCTION

 

 

If I go to:

https://xx.sharepoint.com/sites/cdn/spfxassetsproduction/angular-crud.bundle_0da69c3d1c53bc80e9bddef...

 

The file is Rendered.

 

However if I go to: 

https://xx.sharepoint.com/ _vti_bin/publiccdn.ashx/url?itemurl=https://xx.sharepoint.com/sites/cdn/spfxassetsproduction/angular-crud.bundle_0da69c3d1c53bc80e9bddef...

 

I get a file not found

Sorry, something went wrong
 
 
File Not Found.

 

 

 

 

 
Solution

Re: Office 365 CDN Not working. File not found.

Hi Luis,

we are in progress of pushing some updates around the CDN capability as part of the journey for the GA, which will be impacting both documentation and existing configurations. We should have more detailed information on the updated configuration and behaviour in matter of few weeks. 

Re: Office 365 CDN Not working. File not found.

Thanks Vesa!

Re: Office 365 CDN Not working. File not found.

Vesa, do you have an estimated timeframe for the GA of the O365 Public CDN?

Re: Office 365 CDN Not working. File not found.

We are talking about days-weeks, rather than months. So soon. 

Re: Office 365 CDN Not working. File not found.

Just to follow up on this, in case someone missed it.

 

Re: Office 365 CDN Not working. File not found.

Thank you Vesa! Great to hear about the private CDN preview as well. Is there a high-level estimated timeline to have the private CDN go GA as well? Working with these both together sounds like a great setup.

Re: Office 365 CDN Not working. File not found.

"high-level estimated timeline to have the private CDN go GA as well?" - That should happen pretty soon. Rather weeks than months. 

Re: Office 365 CDN Not working. File not found.

just to say, i set up a public CDN recently along same lines as yourself following tutorials and all is working very nicely.

RE: Office 365 CDN Not working. File not found.

I had exactly the same issue with the .json files in my SPFx solution, the .JSON format was indeed not accepted by default.

Re: RE: Office 365 CDN Not working. File not found.

At this moment the .json file is not being used so you can skip it. It should be soon verified 100% if the file can be skipped without running into trouble later.
Related Conversations
blogs.office.com disappeared
Ingeborg Hawighorst  in  Office 365  on
37 Replies
Announcement: New OneDrive Admin Center Preview
Stephen Rose  in  OneDrive for Business  on
119 Replies
Managing Office 365 - An Overview
Kim Kischel  in  Office 365  on
8 Replies