Apply OOTB Font Package to SharePoint Site using Power Automate

How to apply the OOTB font package to SharePoint Site Collection using Power Automate

SharePoint Online has the Brand Center, which enables us to use OOTB Font packages and Custom Font Packages to the Site Collections. Let’s see on how to use the Power Automate to apply the OOTB font package to SharePoint site.

REST API Syntax

https://<tenant>.sharepoint.com/sites/<sitename>
/_api/OutOfBoxFontPackages/GetById(<font package id>)/Apply

Let’s create a Power Automate and employ the “Send an HTTP request to SharePoint” action and input the details below,

Action Inputs

Site Address SharePoint Site Collection URL
I have added an environment variable
Method POST
Uri _api/OutOfFontPackages/GetById(<fontpackageid)
Headers Accept: application/json;odata=verbose
Content-Type: application/json;odata=verbose

Check out the list of font packages id here.

Power Automate Action

Apply Font Package Apply OOTB font package

Response Body

This request applies the font package to the requested site collection based on selected font package id.

Shantha Kumar
Shantha Kumar
Articles: 297