Commands › SharePoint Online

Add-SPOFontPackage

SharePoint Online Microsoft.Online.SharePoint.PowerShell Add-*

Creates a new custom font package with fonts in the brand fonts library.

Quick start script

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

# 2. Run and inspect
Add-SPOFontPackage -Title <String> -PackageJson <String> | Format-List

# 3. Export for evidence / drift tracking
Add-SPOFontPackage | Export-Clixml .\SPOFontPackage-$(Get-Date -Format yyyyMMdd).xml

Syntax

Add-SPOFontPackage -Title <String> -PackageJson <String> [-IsHidden <Boolean>] [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Title String yes Specifies the display name of the new font package.
-PackageJson String yes Specifies the JSON configuration for the font package.
-IsHidden Boolean Specifies whether the font package should be hidden from users. When set to `$true`, the font package will not be visible in the **Change the look** options, but can still be applied using the `Set-SPOFontPackage` cmdlet.

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