M365: SharePoint Online – Setting up organization asset library – Using PowerShell cmdlet

Hi All,

LIFE IS BEAUTIFUL πŸ™‚ Day by day MS is making it more beautiful with M365 πŸ™‚

Today, In this article we will discuss concept of organizational level Asset Library.

Background:

  1. In one of our customer tenant we have more than 300+ communication site collections.
  2. Some site collections are Location based, some are Location specific News site collections
  3. Basically Flat hierarchy structure
  4. So as per Group / Location there are different editors for content creation
  5. Editors where using images to create there content, they were uploading to there respective site collection and hence the new requirements
  6. Customer need organizational level library where they could upload all the images at one place. So those can be reused as well πŸ™‚

Details:

  • In SharePoint online we have feature called “organization Asset Library”
  • Through “organization asset Library” feature, we can manages images, photos, Videos at central location
  • We can specify any Document library, Asset library as an “organization asset library”
  • We can specify 30 organization asset libraries per organization
  • One more requirement is all the organization asset libraries should be in one site collection
  • We can not add “organization asset libraries” to multiple site collections

How to specify any library as organization asset library:

  • We have PowerShell commands to set library as organization asset library
  • Connect to the SharePoint online as Global Admin or SharePoint Admin role
  • We will use “Add-SPOOrgAssetsLibrary” PowerShell cmdlet as
  • Here,
    • LibraryURL – Absolute URL of the library which we need to specify as “organization asset library”
  • Make sure that you have installed latest SharePoint Management Shell otherwise you will receive following error
M365 - SharePoint Online - Error- The term '' is not recognized as name of a cmdlet, function, script file or operable program
Fig1: M365 – SharePoint Online – Error- The term ” is not recognized as name of a cmdlet, function, script file or operable program
SharePoint Online - Add-SPOOrgAssetsLibrary'' command executed successfully. Warning for enabling CDN
Fig2: M365 – SharePoint Online – Add-SPOOrgAssetsLibrary” command executed successfully. Warning for enabling CDN
  • Here, when we execute this cmdlet, we get warning to enable “content delivery network (cdn) if it is not enabled as shown in above Fig2
  • Once we have input for enabling CDN, cmdlet get executed successfully.
  • For my local tenant I am setting OOB shared document library as organization asset library.
  • Once cmdlet get successfully executed, we get an option to choose the images from the libraries which our organization set as “organization asset library” as
M365 - SharePoint Online - organization asset library - Document library set as "organization asset library" hence "Your organization" is an option while choosing the images.
Fig3:M365 – SharePoint Online – organization asset library – Document library set as “organization asset library” hence “Your organization” is an option while choosing the images.

References:

Stay tuned for more such features πŸ™‚ If you think its worth to read, please like and share πŸ™‚ SHARING IS CARING πŸ™‚

HAVE A HEALTHY LIFE πŸ™‚ TAKE CARE πŸ™‚

Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.