What are the implications of enabling CDN for our Organization asset library

john john 946 Reputation points
2021-03-01T23:49:34.727+00:00

I run this command to configure an Organization Asset Library:-

Add-SPOOrgAssetsLibrary -LibraryURL https://contoso.sharepoint.com/templates -OrgAssetType OfficeTemplateLibrary

we did this for the following reasons:-

1) We want to store templates for word and PowerPoint, so all internal users and specified external users can use those library.
2) so inside the document library >> we add everyone except external + 10 external users to have read access on the Organization library.

but the issue is that when i run the above command, CDN were enabled for our library.. so what is the implication of enabling CDN on the library? and could i achieve the above 2 requirements while disabling CDN ?

second question, if i want to disable CDN can i modify this for our current Organization asset library?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,704 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jerry Xu-MSFT 7,921 Reputation points
    2021-03-02T02:20:05.08+00:00

    Hi, @john john ,

    If you want to use an Organization asset library, it is required to enable CDN in your tenant during the setup. The asset library will be automatically set up as a CDN Origin, which means that library content will be replicated automatically to CDN service.

    A Content Delivery Network, or CDN is a geographically distributed network consisting of proxy and file servers in datacenters connected by high-speed backbone networks. CDNs help keep Office 365 fast and reliable for end users. Cloud services like Office 365 use CDNs to cache static assets closer to the browsers requesting them to speed up downloads and reduce perceived end user latency. In short words, it simply provides better performance for end users. If you are interested in CDN, please read this.

    If you really want to disable CDN, you can do it after the setup. It is not recommended for the performance sake. Use the cmdlet

    Remove-SPOTenantCdnOrigin  
    

    More information about it:https://learn.microsoft.com/en-us/powershell/module/sharepoint-online/remove-spotenantcdnorigin?view=sharepoint-ps
    An example here: https://techcommunity.microsoft.com/t5/sharepoint-developer/how-to-disable-public-cdn-for-particular-site-collection/m-p/138022


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments