How to deploy logic app standard inside App Service Plan using cli

Sujeet Kulkarni 0 Reputation points
2023-11-30T11:13:40.03+00:00

Hello Team,

I am trying to deploy logic app standard using Az cli to the App Service plan in which I have Logic app standard and workflows.

could you please help with the command and ways to deploy logic app to App Service Plan

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,451 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Wilko van de Velde 2,231 Reputation points
    2023-11-30T11:40:24.31+00:00

    Hi @Sujeet Kulkarni ,

    The way to create a basic logic app with Az cli:

    az logicapp create -g myRG --subscription mySubscription -p MyPlan -n myLogicApp -s myStorageAccount
    

    If you want to know more, please check this article on MS Learn:

    https://learn.microsoft.com/en-us/cli/azure/logicapp?view=azure-cli-latest#az-logicapp-create

    Kind Regards,

    Wilko


    Please do not forget to "Accept the answer” wherever the information provided helps you, this can be beneficial to other community members. If you have extra questions about this answer, please click "Comment".

    1 person found this answer helpful.
    0 comments No comments

  2. SnehaAgrawal-MSFT 22,516 Reputation points
    2024-01-23T09:12:11.8433333+00:00

    If you are still looking into this then to elaborate- To deploy a Logic App Standard inside an App Service Plan using the CLI, you can follow below steps-

    1. Create an App Service Plan using the following command: az appservice plan create --name <app-service-plan-name> --resource-group <resource-group-name> --sku P1v2 --is-linux
    2. Create a Logic App Standard using the following command: az logic workflow create --resource-group <resource-group-name> --location <location> --name <logic-app-name> --definition <path-to-workflow-definition> --sku Standard --integration-service-environment-id <app-service-plan-id>

    Note that the --sku parameter is set to Standard to create a Logic App Standard, and the --integration-service-environment-id parameter is set to the ID of the App Service Plan to deploy the Logic App Standard inside the App Service Plan.

    More Details- Quickstart: Create and manage workflows with Azure CLI in Azure Logic Apps

    I hope this helps! Let me know if you have any further questions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.