Skip to content

Instantly share code, notes, and snippets.

@expiscornovus
Created May 11, 2024 07:45
Show Gist options
  • Save expiscornovus/0e122fc34d0845c694c40e442e30f1db to your computer and use it in GitHub Desktop.
Save expiscornovus/0e122fc34d0845c694c40e442e30f1db to your computer and use it in GitHub Desktop.
Apply Custom Font Package to Site
{"id":"77d1cb41-0050-41d9-b6a4-b5fe4c4f95af","brandColor":"#036C70","connectionReferences":{"shared_sharepointonline":{"connection":{"id":"/exp_sharedsharepointonline_e5efa"}}},"connectorDisplayName":"SharePoint","icon":"https://connectoricons-prod.azureedge.net/releases/v1.0.1685/1.0.1685.3700/sharepointonline/icon.png","isTrigger":false,"operationName":"Send_an_HTTP_request_to_SharePoint","operationDefinition":{"type":"OpenApiConnection","inputs":{"host":{"connectionName":"shared_sharepointonline","operationId":"HttpRequest","apiId":"/providers/Microsoft.PowerApps/apis/shared_sharepointonline"},"parameters":{"dataset":"@parameters('SPOSiteCollection_PowerUsers (exp_SPOSiteCollection_PowerUsers)')","parameters/method":"POST","parameters/uri":"_api/FontPackages/GetById('@{variables('FontPackageId')}')/Apply","parameters/headers":{"Accept":"application/json;odata=verbose","Content-Type":"application/json;odata=verbose"}},"authentication":{"type":"Raw","value":"@json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$ConnectionKey']"}},"runAfter":{"Initialize_variable_-_FontPackageId":["Succeeded"]}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment