Forum Discussion

Daniel Reis's avatar
Daniel Reis
Copper Contributor
Sep 22, 2021

Add-SPOOrgAssetsLibrary no longer valid?

I have been trying to create an OfficeTemplateLibrary as per this documentation:
Create an organization assets library - SharePoint in Microsoft 365 | Microsoft Docs

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:

Missing info about OrgAssetType · Issue #3692 · MicrosoftDocs/office-docs-powershell · GitHub

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?

  • Rollyr's avatar
    Rollyr
    Copper 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. 

     

Resources