Home

Office 365 CDN Not working. File not found.

SOLVED
Highlighted
Occasional Contributor

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.

See more conversations labeled with:

4 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.

 

 

 

 

 

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!