Forum Discussion
Apply fonts from Sharepoint Management Shell
- Aug 30, 2022Couple 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.
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.
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
- george_71239Aug 29, 2022Copper Contributor
AndresGorzelany hi I have run that command in Powershell and not SP Man Shell , is that correct? It is running the latest version and only one version and run as administrator and the same error comes up (attached)
I am beginning to think this feature is not working worldwide fully yet.
- Aug 29, 2022Did you connect to the SharePoint Online tenant using the SharePoint Management Shell before running that cmdlet?
https://docs.microsoft.com/powershell/sharepoint/sharepoint-online/connect-sharepoint-online?view=sharepoint-ps#to-connect-with-a-user-name-and-password- george_71239Aug 30, 2022Copper Contributor
AndresGorzelany I do connect successfully to SP tenant with my creds in SP Man Shell
I reinstalled the latest SP Man Shell module and it successfully knows the command but now when I run the command it results in another strange error , see attached.
It is already a document library called FontLibrary.