How can I setup an AS2 server for receiving and sending files in my Azure account?

Rakesh Kamboj 60 Reputation points
2024-03-06T07:36:14.8+00:00

How can I configure/setup AS2 communication server in my Azure account for receiving and sending files. Once files are received, i need to copy the files to sftp that I have created with blob storage. I am naive to this, please help with the steps.

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,213 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,964 questions
0 comments No comments
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 18,747 Reputation points Microsoft Employee
    2024-03-06T20:46:55.2766667+00:00

    @Rakesh Kamboj Thanks for posting your query on Microsoft Q&A.

    To send and receive AS2 messages in workflows that you create using Azure Logic Apps, you can use the AS2 (v2) connector, which provides actions that support and manage AS2 communication.

    Here is the detailed documentation on how to configure AS2: https://video2.skills-academy.com/en-us/azure/logic-apps/logic-apps-enterprise-integration-as2?tabs=consumption#prerequisites

    On a high level,

    • Sign in to the Azure Portal with your Azure account credentials.
    • In the search box, enter “integration account” as your filter and select Integration Account.
    • Provide the necessary information about your integration account and select Create
    • Configure AS2 Communication Using Azure Logic Apps using the AS2 (v2) connector. Unlike the original AS2 connector, the AS2 (v2) connector doesn’t require a separate connection to your integration account. Instead, link your integration account to the logic app resource where you plan to use the connector.
    • Add the AS2 encoding and decoding actions to your logic app workflow. You can use any trigger to start your workflow (examples in this guide use the Request trigger).
    • Set up a Logic App workflow with an AS2 trigger (e.g., Request trigger).
    • Configure the AS2 decoding action to process incoming AS2 messages.
    • Once received, you can extract the payload (files) from the AS2 message.
    • After extracting the payload, use the Azure Blob Storage connector to copy the files to your SFTP-enabled blob storage.
    • Configure the connector with the necessary details: SFTP server address, credentials, container, and file path.

    To try deploying a fully operational logic app and sample AS2 (v2) scenario, review the AS2 (v2) logic app template and scenario.


    Hope that helps.

    If you have questions, please let me know in the "comments" and we would be happy to help you. Comment is the fastest way of notifying the experts.

    Please don’t forget to "Accept Answer" and hit Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members for remediation for similar issues.

    User's image


0 additional answers

Sort by: Most helpful