Commands › SharePoint Online

Set-SPOCustomFontCatalog

SharePoint Online Microsoft.Online.SharePoint.PowerShell Set-*

Generates an organization fonts catalog and uploads the font files and catalog files to a SharePoint Organization Asset Library.

Quick start script

# Set-SPOCustomFontCatalog — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-SPOCustomFontCatalog
$before | Format-List

# 3. Make the change (dry run first)
Set-SPOCustomFontCatalog -FontFolder <String> -LibraryUrl <SpoSitePipeBind> -WhatIf
Set-SPOCustomFontCatalog -FontFolder <String> -LibraryUrl <SpoSitePipeBind>

# 4. Verify and diff
$after = Get-SPOCustomFontCatalog
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

Set-SPOCustomFontCatalog -LibraryUrl <SpoSitePipeBind> -FontFolder <String> [-WhatIf] [-Confirm]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-FontFolder String yes Specifies the local folder that contains the font files to upload. The folder must be a local path, must contain at least one supported font file, must not contain subfolders, and must only contain font files.
-LibraryUrl SpoSitePipeBind yes Specifies the absolute URL of the SharePoint document library that is designated as an Organization Asset Library for organization fonts. The library must be added by using `Add-SPOOrgAssetsLibrary -OrgAssetType...
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. Note that the cmdlet is not actually run.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.