To create a Consumption Logic App in Azure named ‘la-test-sql-02’ that uses an HTTP trigger with a POST method to insert data into an on-premises Microsoft SQL Server table.
Step-by-Step Guide
Create the Logic App:
In the Azure Portal, navigate to Logic Apps and click Add.
Fill in the details, name the app la-test-sql-02, and choose the Consumption plan.
Click Create.
Add HTTP Trigger:
Open your Logic App in the Logic App Designer.
In the Logic App Designer, search for HTTP and select the When_a_HTTP_request_is_received trigger.
Set the Method to POST.
Set up On-premises Data Gateway:
You need to have the On-premises Data Gateway installed and configured to connect to your on-premises SQL Server.