Forum Discussion
Add-SPOOrgAssetsLibrary no longer valid?
I have been trying to create an OfficeTemplateLibrary as per this documentation:
https://docs.microsoft.com/en-us/sharepoint/organization-assets-library
However, it seems that since the last SharePoint Powershell Module update (6.0.9021.1200) that cmdlet is no longer valid. So I went and found Add-SPOTenantCentralAssetRepositoryLibrary which seems like it has replaced it. But when I try to use it there is no option to set the OrgAssetType to OfficeTemplateLibrary like previous cmdlet, and after reading this:
https://github.com/MicrosoftDocs/office-docs-powershell/issues/3692
It seems like the only default option is an image library. So I'm at lost in here and can't create a template library anymore...
Has anyone been successful with this recently?
1 Reply
- RollyrCopper Contributor
Daniel Reis I used the command this week ok. I added two libraries as template libraries. I did take 24 hours before they showed up but appears to work. I had to reinstall Windows a couple weeks ago, so I know I am using a recent build of the commands.