Remove-SPOOrgAssetsLibrary

Removes a library that was designated as a central location for organization assets across the tenant.

Syntax

Remove-SPOOrgAssetsLibrary
      -LibraryUrl <String>
      -ShouldRemoveFromCdn <Boolean>
      [<CommonParameters>]

Description

The Remove-SPOOrgAssetsLibrary cmdlet removes a library that was designated as a central location for organization assets across the tenant. Once this cmdlet is run, this library will no longer be accessible from the "Your organization" tab in the file picker.

Examples

Example 1

This example removes https://contoso.sharepoint.com/sites/branding/Assets as a designated library. Assets within this library will no longer be accessible from the "Your organization" tab in the file picker.

Remove-SPOOrgAssetsLibrary -LibraryURL sites/branding/Assets

Parameters

-LibraryUrl

Indicates the server relative URL of the library to be removed as a central location for organization assets.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online
-ShouldRemoveFromCdn

Remove CDN from the designated library.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online