Forum Discussion
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.
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.
12 Replies
- Yannick PlenevauxCopper ContributorI had exactly the same issue with the .json files in my SPFx solution, the .JSON format was indeed not accepted by default.
- 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.
- Have you checked if the extension of your file is amongst the extensions enabled for your CDN?
- Deleted
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_0da69c3d1c53bc80e9bddefb75a40c97.js
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_0da69c3d1c53bc80e9bddefb75a40c97.js
I get a file not found
Sorry, something went wrongFile Not Found.https://luisevalencia38.sharepoint.com/%20_vti_bin/publiccdn.ashx/url?itemurl=https://luisevalencia38.sharepoint.com/sites/cdn/spfxassetsproduction/angular-crud.bundle_0da69c3d1c53bc80e9bddefb75a40c97.jsCorrelation ID: fff7df9d-b029-3000-fb33-5d327be3eff1
Date and Time: 3/20/2017 1:05:30 PM
- VesaJuvonen
Microsoft
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.