Commands › SharePoint Online
Add-SPOOrgAssetsLibrary
Designates a library to be used as a central location for organization assets across the tenant.
Quick start script
# Add-SPOOrgAssetsLibrary — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com
# 2. Run and inspect
Add-SPOOrgAssetsLibrary -LibraryUrl <String> | Format-List
# 3. Export for evidence / drift tracking
Add-SPOOrgAssetsLibrary | Export-Clixml .\SPOOrgAssetsLibrary-$(Get-Date -Format yyyyMMdd).xml
Syntax
Add-SPOOrgAssetsLibrary -LibraryUrl <String> [-ThumbnailUrl <String>] [-OrgAssetType <OrganizationAssetType>]
[-CdnType <SPOTenantCdnType>] [-NoDefaultOrigins] [-CopilotSearchable <Boolean>] [-WhatIf] [-Confirm]
[<CommonParameters>]
Parameters (8)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.