Azure Logic Apps - AS2 Send Receive

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Bicep Version

Deploy To Azure Deploy To Azure US Gov Visualize

This template creates an AS2 Send Receive workflow by using Azure Logic Apps to create the following Azure resources:

  • Integration accounts for two partners, Contoso and Fabrikam, along with the necessary artifacts, which are partners and agreements.

  • Logic apps between Fabrikam Sales and Contoso, which demonstrate Sync AS2 Send Receive.

  • Logic apps between Fabrikam Finance and Contoso, which demonstrate ASync AS2 Send Receive.

Important: This template creates and deploys two Standard-tier integration accounts, which incur costs. For more information, see Azure Logic Apps pricing and Pricing and billing models for Azure Logic Apps.

Tags: AS2, Logic Apps, Integration Account, Enterprise Integration, Microsoft.Logic/integrationAccounts, Microsoft.Logic/integrationAccounts/partners, Microsoft.Logic/integrationAccounts/agreements, Microsoft.Logic/workflows, If, Response, Http, ApiConnection, Request, Recurrence, Microsoft.Web/connections

Deployment steps

Either select the Deploy to Azure button at the top of this page or follow the instructions for command line deployment by using the scripts in the root of this repo.

Usage

To test your logic apps after deployment completes, you can perform these steps:

  1. In the Azure portal, open the resource group page that shows where you deployed all the resources.

    Screenshot that shows Azure resources

    The logic apps, FabrikamSales-AS2Send and Contoso-Receive, show the sync send receive scenario.

  2. Open the logic app for FabrikamSales-AS2Send. On the logic app's Overview page, and select Run Trigger.

    Screenshot that shows FabrikamSales-AS2Send logic app

  3. On the Overview page, you can also review the run history, inputs, and outputs for each action in these logic apps:

    Screenshot that shows Contoso-AS2Receive run history

    The logic apps, FabrikamFinance-AS2Send and Contoso-Receive, show the async send receive scenario.

  4. Open the logic app for FabrikamFinance-AS2Send. On the logic app's Overview page, and select Run Trigger.

    The async MDN is received by the logic app, FabrikamFinance-AS2ReceiveMDN.

    Screenshot that shows FabrikamFinance-AS2ReceiveMDN run history

  5. Again, you can review the run history, inputs, and outputs for each action in these logic apps.

Important: The logic apps, FabrikamSales-AS2Send and FabrikamFinance-AS2Send, start with a Recurrence trigger that runs every hour. To run the logic apps more or less often, you can change the trigger's frequency and interval as appropriate by using the Logic App Designer.

Next steps

Learn more about Azure Logic Apps: