Forum Discussion
george_71239
Aug 26, 2022Copper Contributor
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 individu...
- 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.
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
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_71239
Aug 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.
- 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.