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
Add-SPOOrgAssetsLibrary -LibraryURL <String>
  • 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 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

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

%d bloggers like this: