Automation of function app creation. RRS feed

  • Question

  • Hi,
    I'm writing powershell script to automate the creation of function app in azure portal.

    The following command creates a new consumption app service plan as default(doesn't use the existing plan in that resource group)

    New-AzureRmResource    -ResourceType 'Microsoft.Web/Sites' -ResourceName $functionAppName -kind 'functionapp' -Location $location   -ResourceGroupName $resourceGroupName -Properties @{} -force

    Is there any way i could explicitly specify to use existing app service plan instead ?

    Any help is much appreciated.


    Thursday, May 17, 2018 3:37 AM

All replies

  • Are you looking to use an existing Dedicated App Service Plan (i.e. not Consumption)?
    Tuesday, May 22, 2018 4:59 PM
  • Any update on this Veda? 
    Friday, June 1, 2018 9:23 PM