Remove-SPOFontPackage
Removes a brand font package from the tenant.
Syntax
Default (Default)
Remove-SPOFontPackage
[-Identity] <SPOFontPackagePipeBind>
[<CommonParameters>]
Description
This cmdlet removes a custom font package from the tenant. After removal, the font package will no longer be available for use on SharePoint sites or Viva Connections.
Note
Removing a font package does not delete the associated brand font files. Pages that already use the removed font package will continue to display the configured fonts, but you will no longer be able to modify the font package settings.
Examples
EXAMPLE 1
Remove-SPOFontPackage -Identity 12345678-1234-1234-1234-123456789012
This example removes the font package with the specified GUID.
EXAMPLE 2
$fontPackage = Get-SPOFontPackage -Identity 12345678-1234-1234-1234-123456789012
Remove-SPOFontPackage -Identity $fontPackage
This example retrieves a font package and then removes it.
EXAMPLE 3
Get-SPOFontPackage | Where-Object {$_.IsHidden -eq $true} | Remove-SPOFontPackage
This example removes all hidden font packages from the SharePoint tenant.
Parameters
-Identity
Applicable: SharePoint Online
Specifies the identity of the font package to remove. This can be the ID (GUID) of the font package, or a font package object.
Parameter properties
| Type: | Microsoft.Online.SharePoint.PowerShell.SPOFontPackagePipeBind |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.