Add agreements between partners in integration accounts for workflows in Azure Logic Apps
Applies to: Azure Logic Apps (Consumption + Standard)
After you add partners to your integration account, specify how partners exchange messages by defining agreements in your integration account. Agreements help organizations communicate seamlessly with each other by defining the specific industry-standard protocol for exchanging messages and by providing the following shared benefits:
Enable organizations to exchange information by using a well-known format.
Improve efficiency when conducting business-to-business (B2B) transactions.
Make creating, managing, and using agreements easy for building enterprise integration solutions.
An agreement requires a host partner, which is always your organization, and a guest partner, which is the organization that exchanges messages with your organization. The guest partner can be another company, or even a department in your own organization. Using this agreement, you specify how to handle inbound and outbound messages from the host partner's perspective.
This article shows how to create and manage an agreement, which you can then use to exchange B2B messages with another partner by using the AS2, X12, EDIFACT, or RosettaNet operations.
If you're new to logic apps, review What is Azure Logic Apps? For more information about B2B enterprise integration, review B2B enterprise integration workflows with Azure Logic Apps and Enterprise Integration Pack.
Prerequisites
An Azure account and subscription. If you don't have a subscription yet, sign up for a free Azure account.
An integration account resource where you define and store artifacts, such as trading partners, agreements, certificates, and so on, for use in your enterprise integration and B2B workflows. This resource has to meet the following requirements:
Is associated with the same Azure subscription as your logic app resource.
Exists in the same location or Azure region as your logic app resource.
If you're using the Logic App (Consumption) resource type, your integration account requires a link to your logic app resource before you can use artifacts in your workflow.
If you're using the Logic App (Standard) resource type, your integration account doesn't need a link to your logic app resource but is still required to store other artifacts, such as partners, agreements, and certificates, along with using the AS2, X12, and EDIFACT operations. Your integration account still has to meet other requirements, such as using the same Azure subscription and existing in the same location as your logic app resource.
Note
Currently, only the Logic App (Consumption) resource type supports RosettaNet operations. The Logic App (Standard) resource type doesn't include RosettaNet operations.
At least two trading partners in your integration account. An agreement requires a host partner and a guest partner. Also, an agreement requires that both partners use the same or compatible business identity qualifier that's appropriate for an AS2, X12, EDIFACT, or RosettaNet agreement.
Optionally, the logic app resource and workflow where you want to use the agreement to exchange messages. The workflow requires any trigger that starts your logic app's workflow.
If you're new to logic apps, review What is Azure Logic Apps and Create an example Consumption logic app workflow.
Add an agreement
In the Azure portal search box, enter
integration accounts
, and select Integration accounts.Under Integration accounts, select the integration account where you want to add your partners.
On the integration account menu, under Settings, select Agreements.
On the Agreements pane, select Add.
On the Add pane, provide the following information about the agreement:
Property Required Value Description Name Yes <agreement-name> The name for your agreement Agreement type Yes AS2, X12, EDIFACT, or RosettaNet The protocol type for your agreement. When you create your agreement file, the content in that file must match the agreement type. Host Partner Yes <host-partner-name> The host partner represents your organization Host Identity Yes <host-partner-identifier> The host partner's identifier Guest Partner Yes <guest-partner-name> The guest partner represents the organization that communicates with your organization Guest Identity Yes <guest-partner-identifier> The guest partner's identifier Receive Settings Varies Varies These properties specify how the host partner receives inbound messages from the guest partner in the agreement. For more information, review the respective agreement type: - AS2 message settings
- EDIFACT message settings
- X12 message settingsSend Settings Varies Varies These properties specify how the host partner sends outbound messages to the guest partner in the agreement. For more information, review the respective agreement type: - AS2 message settings
- EDIFACT message settings
- X12 message settingsRosettaNet PIP references Varies Varies This pane specifies information about one or more Partner Interface Processes (PIP) to use RosettaNet messages. For more information, review Exchange RosettaNet messages. Important
The resolution for an agreement depends on matching the following items that are defined in the partner and inbound message:
- The sender's qualifier and identifier
- The receiver's qualifier and identifier
If these values change for your partner, make sure that you update the agreement too.
When you're done, select OK.
Your agreement now appears on the Agreements list.
Edit an agreement
In the Azure portal search box, enter
integration accounts
, and select Integration accounts.Under Integration accounts, select the integration account where you want to add your partners.
On the integration account menu, under Settings, select Agreements.
On the Agreements pane, select your agreement, select Edit, and make your changes.
When you're done, select OK.
Delete an agreement
In the Azure portal search box, enter
integration accounts
, and select Integration accounts.Under Integration accounts, select the integration account where you want to add your partners.
On the integration account menu, under Settings, select Agreements.
On the Agreements pane, select the agreement to delete, and then select Delete.
To confirm that you want to delete the agreement, select Yes.
Next steps
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for