Forum Discussion

george_71239's avatar
george_71239
Copper Contributor
Aug 26, 2022

Apply fonts from Sharepoint Management Shell

I want my users to use company fonts in their 'Powerpoint on the Web' throughout the organization. Currently they can only use these company fonts in their Powepoint app on Windows when they individually install them. 

I have followed a guide by Microsoft to create a ' font library' on a sharepoint site with permissions for 'everyone except external users' , added this as an asset library on SP Management Shell with success, uploaded the fonts in this library  and allowed 24 hrs to pass but still I cannot see those fonts in 'Powerpoint Web'. 

Do I have to upload the fonts through SP Man Shell? If yes, how do I do that? Currently I see a font library in PowerpointWeb (see below) without anything in it as well as searching for the font in a powerpoint presentation which doesn't show , please help. 

 

 

 

 

 

  • Couple of things:

    Surround c:\Fonts using double quotes "C:\Fonts"

    run the PowerShell window as administrator

    Also, to specify the -libraryUrl, remove Forms/AllItems.aspx from the url in the parameter.

    as the example in Docs.



    • george_71239's avatar
      george_71239
      Copper Contributor

      AndresGorzelany Hi Andres, yes followed the article that you mentioned. I uploaded it manually as the commend to upload within SP Man Shell is giving me errors 

       

      See attached files for errors its giving me in SP Shell even though my SP management Shell is the latest version. 

       

      Should I be using SP Shell or latest Powershell as the command 'Set-SPOCustomFontCatalog' is not being recognized? Please guide me in the right direction, Thank you. 

      • AndresGorzelany's avatar
        AndresGorzelany
        MVP
        Be sure to be running only one version of the module

        get-module -ListAvailable Microsoft.Online.SharePoint.PowerShell

        If you find more than one remove them all and start over installing the last one. (16.0.22713.12000)

        If my memory doesn't fail, last time I tried org fonts I had to run the shell as an administrator

Resources