Forum Discussion

Deleted's avatar
Deleted
Mar 20, 2017
Solved

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

  • I had exactly the same issue with the .json files in my SPFx solution, the .JSON format was indeed not accepted by default.
    • Waldek Mastykarz's avatar
      Waldek Mastykarz
      MVP
      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.
    • Deleted's avatar
      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 wrong
       
       
      File Not Found.

       

       

       

       

       
      • VesaJuvonen's avatar
        VesaJuvonen
        Icon for Microsoft rankMicrosoft

        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. 

Resources