Skip to main content

Azure Functions Integration with Orkes Conductor

Available since
  • v5.3.0 and later

Integrating Azure Functions with Orkes Conductor lets you build workflows that interact with your Azure Functions using the following operations:

  • List Function Apps
  • Get Function App Details
  • List Functions In App
  • Get Function Details
  • Invoke HTTP Function

This guide explains how to set up and use the integration. Here's an overview:

  1. Get the required credentials from Azure portal.
  2. Configure a new Azure Functions integration in Orkes Conductor.
  3. Use Azure Functions integration in workflows.

Step 1: Get the Azure Portal credentials

To integrate Azure Functions with Orkes Conductor, you need a Subscription ID, Tenant ID, Client ID, and Client Secret from the Azure portal.

Prerequisites:

  • Azure subscription with Function Apps

To create a Service Principal and collect credentials:

  1. Log in to the Azure portal and navigate to Microsoft Entra ID.
  2. Go to Manage > App registrations > + New registration.
  3. Give your application a name and select Register.
  4. Copy the Application (client) ID, which is your Client ID.
  5. Copy the Directory (tenant) ID, which is your Tenant ID.
  6. Within the application, go to Certificates & secrets > + New client secret.
  7. Add a description, set an expiration, select Add, and copy the secret value immediately, as it won't be shown again. This is your Client Secret.
  8. Go to your Subscription > select your subscription > Access control (IAM) > + Add > Add role assignment.
  9. Assign the Reader role (minimum) or Contributor role (recommended) to the application you just registered. This grants the application, referred to as a Service Principal in Azure, permission to access your Azure resources.
  10. Go to Subscriptions and copy your Subscription ID.

Step 2: Add an integration for Azure Functions

After obtaining the credentials, add an Azure Functions integration to your Conductor cluster.

To create an integration:

  1. Go to Integrations > Connected Apps from the left navigation menu on your Conductor cluster.
  2. Select + New integration.
  3. In the Cloud section, choose Azure Functions.
  4. Select + Add and enter the following parameters:
ParameterDescriptionRequired/Optional
Integration nameA name for the integration.Required.
Subscription IDThe subscription ID retrieved from the Azure portal in Step 1.Required.
Tenant IDThe tenant ID retrieved from the Azure portal in Step 1.Required.
Client IDThe client ID retrieved from the Azure portal in Step 1.Required.
Client SecretThe client secret retrieved from the Azure portal in Step 1.Required.
Default Resource GroupThe default resource group to use.Optional.
DescriptionA description of the integration.Required.

Azure Functions Integration with Orkes Conductor

  1. (Optional) Toggle the Active button off if you don't want to activate the integration instantly.
  2. Select Save.

Step 3: Use Azure Functions integration in workflows

Once the integration is ready, this can be used directly within the workflows.

To use Azure Functions integration in a workflow:

  1. Go to Definitions > Workflow from the left navigation menu on your Conductor cluster.
  2. Select + Define workflow.
  3. In your workflow, select the (+) icon and select Connected Apps.

Adding Azure Functions Integration in Conductor workflow

  1. In Add Task panel on the right, search for Azure Functions, and select the integration created in Step 2.

The following operations are available for use with this integration.

OperationDescription
List Function AppsLists all Function Apps in the subscription or a specific resource group.
Get Function App DetailsRetrieves detailed information about a specific Function App.
List Functions In AppLists all functions within a specific Function App.
Get Function DetailsRetrieves configuration and metadata for a specific function within a Function App.
Invoke HTTP FunctionInvokes an HTTP-triggered Azure Function with a custom request.
  1. Select the required operation, configure the parameters, and select Save > Confirm.
  2. Select Execute to run the workflow.

For the complete operations parameters and output reference, see Azure Functions Operations Reference.