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.
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, 2022
Did 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
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.- george_71239Aug 30, 2022Copper ContributorThanks, the double quotes helped but I had to recreate the document library as it wasn't applying, thank you for your help.
Do image libraries work the same way? Thanks again.