Forum Discussion
Stuck asset Library - unable to remove
We did some testing for proof of concept and marketing loved it
However now the asset library won't remove itself so we can't move it to the site we need it to be on :(
PS C:\Users\XXXXX> Get-SPOOrgAssetsLibrary
Location of organization asset libraries
/sites/CorporateDocuments
DisplayName LibraryUrl ListId OrgAssetType
----------- ---------- ------ ------------
Templates /sites/CorporateDocuments/Templates 0198f5c0-688c-461a-843a-828438c43880 OfficeTemplateLibrary
TemplateImages /sites/CorporateDocuments/TemplateImages 86a42e42-7452-46fe-8034-98e2afc84279 ImageDocumentLibrary
PS C:\Users\XXXXX> Remove-SPOOrgAssetsLibrary -LibraryUrl "https://orgname.sharepoint.com/sites/CorporateDocuments/templates"
Document library removed successfully.
Library successfully removed from organizational assets. CDN is still enabled for your tenant with existing
PS C:\Users\XXXXX> Remove-SPOOrgAssetsLibrary -LibraryUrl "https://orgname.sharepoint.com/sites/CorporateDocuments/templateimages"
Document library removed successfully.
Library successfully removed from organizational assets. CDN is still enabled for your tenant with existing CDN settings. To remove the library from CDN or to disable CDN for your tenant please see https://aka.ms/spocdn
PS C:\Users\XXXXX> Get-SPOOrgAssetsLibrary
Location of organization asset libraries
/sites/CorporateDocuments