Create and manage integration accounts for B2B workflows in Azure Logic Apps with the Enterprise Integration Pack

Applies to: Azure Logic Apps (Consumption + Standard)

Before you can build business-to-business (B2B) and enterprise integration workflows using Azure Logic Apps, you need to create an integration account resource. This account is a scalable cloud-based container in Azure that simplifies how you store and manage B2B artifacts that you define and use in your workflows for B2B scenarios, for example:

You also need an integration account to electronically exchange B2B messages with other organizations. When other organizations use protocols and message formats different from your organization, you have to convert these formats so your organization's system can process those messages. With Azure Logic Apps, you can build workflows that support the following industry-standard protocols:

This article shows how to complete the following tasks:

  • Create an integration account.
  • Link your integration account to a logic app resource.
  • Change the pricing tier for your integration account.
  • Unlink your integration account from a logic app resource.
  • Move an integration account to another Azure resource group or subscription.
  • Delete an integration account.

If you're new to creating B2B enterprise integration workflows in Azure Logic Apps, review the following documentation:

Prerequisites

  • An Azure account and subscription. If you don't have an Azure subscription, sign up for a Azure account. Make sure that you use the same Azure subscription for both your integration account and logic app resource.

  • Whether you're working on a Consumption or Standard logic app workflow, your logic app resource must already exist before you can link your integration account.

    • For Consumption logic app resources, this link is required before you can use the artifacts from your integration account with your workflow. Although you can create your artifacts without this link, the link is required when you're ready to use these artifacts.

    • For Standard logic app resources, this link is optional, based on your scenario:

      • If you have an integration account with the artifacts that you need or want to use, you can link the integration account to each Standard logic app resource where you want to use the artifacts.

      • Some Azure-hosted integration account connectors, such as AS2, EDIFACT, and X12, let you create a connection to your integration account. If you're just using these connectors, you don't need the link.

      • The built-in connectors named Liquid and Flat File let you select maps and schemas that you previously uploaded to your logic app resource or to a linked integration account.

        If you don't have or need an integration account, you can use the upload option. Otherwise, you can use the linking option, which also means you don't have to upload maps and schemas to each logic app resource. Either way, you can use these artifacts across all child workflows within the same logic app resource.

  • Basic knowledge about how to create logic app workflows. For more information, review the following documentation:

Create integration account

Integration accounts are available in different tiers that vary in pricing. Based on the tier you choose, creating an integration account might incur costs. For more information, review Azure Logic Apps pricing and billing models and Azure Logic Apps pricing.

Based on your requirements and scenarios, determine the appropriate integration account tier to create. The following table describes the available tiers:

Tier Description
Basic For scenarios where you want only message handling or to act as a small business partner that has a trading partner relationship with a larger business entity.

Supported by the Azure Logic Apps SLA.
Standard For scenarios where you have more complex B2B relationships and increased numbers of entities that you must manage.

Supported by the Azure Logic Apps SLA.

For this task, you can use the Azure portal, Azure CLI, or Azure PowerShell.

Important

For you to successfully link and use your integration account with your logic app, make sure that both resources exist in the same Azure subscription and Azure region.

  1. In the Azure portal, sign in with your Azure account credentials.

  2. In the Azure portal search box, enter integration accounts, and select Integration accounts.

  3. Under Integration accounts, select Create.

  4. On the Create an integration account pane, provide the following information about your integration account:

    Property Required Value Description
    Subscription Yes <Azure-subscription-name> The name for your Azure subscription
    Resource group Yes <Azure-resource-group-name> The name for the Azure resource group to use for organizing related resources. For this example, create a new resource group named FabrikamIntegration-RG.
    Integration account name Yes <integration-account-name> Your integration account's name, which can contain only letters, numbers, hyphens (-), underscores (_), parentheses (()), and periods (.). This example uses Fabrikam-Integration.
    Region Yes <Azure-region> The Azure region where to store your integration account metadata. Either select the same location as your logic app resource, or create your logic apps in the same location as your integration account. For this example, use China East 2.
    Pricing Tier Yes <pricing-level> The pricing tier for the integration account, which you can change later. For this example, select Basic. For more information, review the following documentation:

    - Logic Apps pricing model
    - Logic Apps limits and configuration
    - Logic Apps pricing
    Enable log analytics No Unselected For this example, don't select this option.
  5. When you're done, select Review + create.

    After deployment completes, Azure opens your integration account.

For you to successfully link your integration account to your logic app resource, make sure that both resources use the same Azure subscription and Azure region.

This section describes how to complete this task using the Azure portal. If you use Visual Studio and your logic app is in an Azure Resource Group project, you can link your logic app to an integration account by using Visual Studio.

  1. In the Azure portal, open your logic app resource.

  2. On your logic app's navigation menu, under Settings, select Workflow settings. Under Integration account, open the Select an Integration account list, and select the integration account you want.

    Screenshot that shows the Azure portal with integration account menu with "Workflow settings" pane open and "Select an Integration account" list open.

  3. To finish linking, select Save.

    Screenshot that shows "Workflow settings" pane and "Save" selected.

    After your integration account is successfully linked, Azure shows a confirmation message.

    Screenshot that shows Azure confirmation message.

Now your logic app workflow can use the artifacts in your integration account plus the B2B connectors, such as XML validation and flat file encoding or decoding.

Change pricing tier

To increase the limits for an integration account, you can upgrade to a higher pricing tier, if available. For example, you can upgrade from the Free tier to the Basic tier or Standard tier. You can also downgrade to a lower tier, if available. For more information pricing information, review the following documentation:

Upgrade pricing tier

To make this change, you can use either the Azure portal or the Azure CLI.

  1. Sign in to the Azure portal with your Azure account credentials.

  2. In the main Azure search box, enter integration accounts, and select Integration accounts.

    Azure shows all the integration accounts in your Azure subscriptions.

  3. Under Integration accounts, select the integration account that you want to move. On your integration account menu, select Overview.

    Screenshot that shows Azure portal with integration account menu and "Overview" selected.

  4. On the Overview pane, select Upgrade Pricing Tier, which lists any available higher tiers. When you select a tier, the change immediately takes effect.

    Screenshot that shows integration account "Overview" pane with "Upgrade Pricing Tier" selected.

Downgrade pricing tier

To make this change, use the Azure CLI.

  1. If you haven't done so already, install the Azure CLI prerequisites.

  2. Open the bash shell on your local Computer.

  3. At the command prompt, enter the az resource command and set skuName to the lower tier that you want.

    az resource update --resource-group <resourceGroupName> --resource-type Microsoft.Logic/integrationAccounts --name <integrationAccountName> --subscription <AzureSubscriptionID> --set sku.name=<skuName>
    

    For example, if you have the Standard tier, you can set skuName to Basic:

    az resource update --resource-group FabrikamIntegration-RG --resource-type Microsoft.Logic/integrationAccounts --name Fabrikam-Integration --subscription XXXXXXXXXXXXXXXXX --set sku.name=Basic
    
  1. In the Azure portal, open your Standard logic app resource.

  2. On your logic app's navigation menu, under Settings, select Configuration.

  3. On the Configuration pane, find the app setting named WORKFLOW_INTEGRATION_ACCOUNT_CALLBACK_URL.

  4. In the Delete column, select Delete (trash can icon).

  5. On the Configuration pane toolbar, select Save.

Visual Studio Code

  1. From your Standard logic app project in Visual Studio Code, open the local.settings.json file.

  2. In the Values object, find and delete the app setting that has the following properties and values:

    Property Value
    Name WORKFLOW_INTEGRATION_ACCOUNT_CALLBACK_URL
    Value <integration-account-callback-URL>
  3. When you're done, save your changes.


Move integration account

You can move your integration account to another Azure resource group or Azure subscription. When you move resources, Azure creates new resource IDs, so make sure that you use the new IDs instead and update any scripts or tools associated with the moved resources. If you want to change the subscription, you must also specify an existing or new resource group.

For this task, you can use either the Azure portal by following the steps in this section or the Azure CLI.

  1. Sign in to the Azure portal with your Azure account credentials.

  2. In the main Azure search box, enter integration accounts, and select Integration accounts.

    Azure shows all the integration accounts in your Azure subscriptions.

  3. Under Integration accounts, select the integration account that you want to move. On your integration account menu, select Overview.

  4. On the Overview pane, next to either Resource group or Subscription name, select change.

    Screenshot that shows the Azure portal and the "Overview" pane with "change" selected next to "Resource group" or "Subscription name".

  5. Select any related resources that you also want to move.

  6. Based on your selection, follow these steps to change the resource group or subscription:

    • Resource group: From the Resource group list, select the destination resource group. Or, to create a different resource group, select Create a new resource group.

    • Subscription: From the Subscription list, select the destination subscription. From the Resource group list, select the destination resource group. Or, to create a different resource group, select Create a new resource group.

  7. To acknowledge your understanding that any scripts or tools associated with the moved resources won't work until you update them with the new resource IDs, select the confirmation box, and then select OK.

  8. After you finish, make sure that you update all scripts with the new resource IDs for your moved resources.

Delete integration account

For this task, you can use either the Azure portal by following the steps in this section, Azure CLI, or Azure PowerShell.

  1. Sign in to the Azure portal with your Azure account credentials.

  2. In the main Azure search box, enter integration accounts, and select Integration accounts.

    Azure shows all the integration accounts in your Azure subscriptions.

  3. Under Integration accounts, select the integration account that you want to delete. On your integration account menu, select Overview.

    Screenshot that shows Azure portal with "Integration accounts" list and integration account menu with "Overview" selected.

  4. On the Overview pane, select Delete.

    Screenshot that shows "Overview" pane with "Delete" selected.

  5. To confirm that you want to delete your integration account, select Yes.

    Screenshot that shows confirmation box and "Yes" selected.

Next steps