Instead of an external web service managed by an external application, you can use other applications as outbound web service in the cloud. An alternative application is an Azure Logic App.

This topic explains globally how to set up the web service using Azure Logic App. For more information on Azure Logic Apps, refer to Azure Logic Apps documentation.


Application Consultant Application Consultant Start Start Import Logic App tutorial Import Logic App tutorial If you want to run an inbound web service or outbound web service in the cloud using Azure logic Apps, first download and extract the Project Tutorial - Logic App.zip file. This file contains a project with an inbound web service action and an outbound web service action. Procedure 1. Go to Connectivity studio > Periodic > Import configuration from file. 2. Click OK. Create an Azure Logic App as outbound web service Create an Azure Logic App as outbound web service Create an Azure Logic App that serves as outbound web service for D365 FO. For more information, refer to Azure Logic Apps documentation.You can, for example, create a logic app that posts files to OneDrive. Procedure 1. In Microsoft Azure, Logic Apps, create a logic app and call it "PostFromD365". 2. Open the created logic app and go to the Logic app designer. 3. Select the trigger 'When a HTTP request is received'. 4. To this trigger, add the Method parameter and select, and select 'POST'. 5. Add a new step to the workflow to create a file in OneDrive (for Business). Sign in to OneDrive and fill in the fields. Note: For example, as file name, use 'custgroup.json', and as file content, use Body. 6. Save the logic app workflow. 7. Copy the first part of the HTTP Post URL (https://[...].logic.azure.com/workflows) to the Base URL field of the web service application, as defined for the 'Tutorial - Logic App' project in D365 FO. 8. Copy the second part of the HTTP Post URL to the Resource field of the outbound web service action 'Post to Logic App'. Test outbound Azure Logic App Test outbound Azure Logic App Before deploying the outbound Azure Logic App, test it. Procedure 1. Run the web service action in D365 FO. 2. Open the OneDrive folder (as defined for the Create a file action) and check if the file is created. For example, the custgroup.json file as mentioned in the 'Create an Azure Logic App as outbound web service' topic. 3. Check the runs history of the Azure Logic App. End End

Activities

Name Responsible Description

Import Logic App tutorial

Application Consultant

If you want to run an inbound web service or outbound web service in the cloud using Azure logic Apps, first download and extract the Project Tutorial - Logic App.zip file. This file contains a project with an inbound web service action and an outbound web service action.

Create an Azure Logic App as outbound web service

Application Consultant

Create an Azure Logic App that serves as outbound web service for D365 FO. For more information, refer to Azure Logic Apps documentation.
You can, for example, create a logic app that posts files to OneDrive.

Test outbound Azure Logic App

Application Consultant

Before deploying the outbound Azure Logic App, test it.

Provide feedback