--- title: "Create an Azure Logic App as inbound web service" slug: "create-an-azure-logic-app-as-inbound-web-service" description: "Create an Azure Logic App to integrate D365 F&SCM, automating file uploads and web service actions seamlessly." tags: ["Task topic"] status: "update" updated: 2026-10-05T12:05:20Z published: 2026-10-05T12:05:20Z canonical: "docs.staedean.com/create-an-azure-logic-app-as-inbound-web-service" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Create an Azure Logic App as inbound web service Create an **Azure Logic App** that serves as inbound web service for D365 F&SCM. For more information, refer to [Azure Logic Apps documentation](https://learn.microsoft.com/en-us/azure/logic-apps/). You can, for example, create a logic app that picks up files when created in OneDrive and trigger the applicable web service action in D365 F&SCM. ### Steps 1. In **Microsoft Azure**, Logic Apps, create a logic app and call it "**PostToD365**". 2. As a template, select '**Blank Logic App**'. 3. Choose the trigger and fill in the trigger fields. For example, you can use the OneDrive for Business trigger: "**When a file is created**". 4. Add a new step to the workflow to post a file to D365 F&SCM. To do so, select the HTTP action. 5. Fill in the HTTP action parameters (see [Settings](/data-management/docs/create-an-azure-logic-app-as-inbound-web-service#settings)). ### Settings The HTTP action must have these settings: - **Method**: POST - **URI**: You can use one of these URLs: - https://Instancename.cloudax.dynamics.com/api/services/BisWsWebserviceOperation/BisWsWebserviceCall/executeOperation. This is the basic URL. - https://Instancename.cloudax.dynamics.com/api/services/BisWsWebserviceOperation/BisWsWebserviceCall/executeOperationV2. Use this URL if you want to run the web service for a specific company. The 'companyId' parameter in the body parameters is only applicable if you use this URL. Make sure the D365 F&SCM user has permission to access the specified company. - **Headers**: Key = content-type and Value = application/json - **Body parameters**: { "_HttpMethod": 0, "_ProjectId": "Tutorial - Logic App", "_Url": "https://{instance}.cloudax.dynamics.com/biswebservice/SOAP/Post/Tutorial - Logic App/custgroupinboundā€, "_UserName": "domain/username", "_WebServiceId": "custgroupinbound", "_content": "@{json(triggerBody())}", "_companyId": "company ID" } - **Authentication**: Add the Authentication parameter and fill in the related fields: - **Authentication type**: Microsoft Entra ID OAuth - **Authority**: https://login.windows.net/ - **Tenant**: [Your tenant] - **Audience**: https://{instance}.cloudax.dynamics.com - **Client ID**: Enter the Application ID from the Microsoft Entra ID App registration (see [Register Azure Logic App in Microsoft Entra ID](/data-management/docs/register-azure-logic-app-in-microsoft-entra-id)) - **Credential Type**: Secret - **Secret**: From the Microsoft Entra ID App registration (see [Register Azure Logic App in Microsoft Entra ID](/data-management/docs/register-azure-logic-app-in-microsoft-entra-id))