Deploying as Azure Function

◷ Reading Time: 2 minutes


Before you start you will need to have the following ready:

  • Resource group to create resources in.
  • App Registration in your Azure environment with access to resource group.
  • Subscription ID for your Azure subscription.

You can get the Client ID and Tenant ID that you’ll need to use from your app registration’s Overview page.

Create a new client secret in the Certificates & Secrets screen for your app registration. Use the generated value as the Client Secret.

Install the Extension

To install the extension, copy all the files in the extension package to your FlexRule Designer installation folder in to the the Bin folder.

For example:
C:\Users\[Your Username]\AppData\Local\Programs\Pliant Framework\FlexRule Designer\8.2.4\Bin

Deploy to Azure

Open the business logic you’d like to publish as an Azure Function.

Click on the Package Builder button.

Complete the details on the Builder tab and ensure that Store Package File is enabled. You must enable this as it will create a package file to be uploaded.

In the Deployment tab, choose Azure Function as the extension.

Enter the details for your Azure environment (based on the prerequisites section of this article) and click on Publish.

The publish takes around 3 minutes (based on the size of your package). Azure will create a storage account, app service plan, and a function app for you. Do not exit the dialog or application.

Updated on August 26, 2020

Was this article helpful?

Related Articles