How to rename existing Azure Logic App?

23.8k Views Asked by At

I have created a logic app, but now I want to rename existing logic app in Microsoft Azure portal.

I have been looking for options, but could not find one.

7

There are 7 best solutions below

5
On BEST ANSWER

You cannot rename web app as far as I'm aware. You can redeploy using different name and then delete existing one.

1
On

Select the LogicApp, clone it with a new name, delete the old one.

2
On

Existing logic app cannot be renamed. we can clone the existing logic app with a new name. However,the cloned logic app will be created in the same resource group of the existing logic app. we can change the resource group or location of the logic app once the cloning is completed, but in order to avoid any run time error we need to update the subscription/Resource group name or id in the code view.

0
On

You can't rename Logic App... however you can redeploy it in minutes using PowerShell

If you just want workflow definition then

$rg = "my-resoruce-group"
$logicAppName = "my-logic-app"
$newName = "my-new-name"

$logicApp = Get-AzLogicApp -ResourceGroupName $rg -Name $logicAppName
New-AzLogicApp `
    -ResourceGroupName $rg `
    -Name "New-Name" `
    -Definition $logicApp.Definition `
    -Location $logicApp.Location

Or export entire resource as ARM template and reploy it either via PowerShell, CLI or through portal

$rg = "my-resoruce-group"
$logicAppName = "my-logic-app"
$logicApp = Get-AzLogicApp -ResourceGroupName $rg -Name $logicAppName

Export-AzResourceGroup `
    -ResourceGroupName $rg `
    -Resource $logicApp.Id `
    -Path "arm.json"
1
On

In most cases the Azure Resources naming can't be renamed. However If you tend to follow Proper Sequences you can have your Cloud Infrastructure better Managed. Make Use of Azure Deployment Methods to Tweak Configurations Manually.

0
On

One cannot able to rename the logic app , you can able to clone the logic app with the option available in overview section of logic app as available in below picture and provide the new name. Once the new logic app gets created we can delete the old logic app. Clone option in overview section of logic app

2
On

Renaming logic app is not supported by using azure portal. You can use below methods

  1. Create clone with new name and delete existing one(only supported for consumption)
  2. Deploy logic app with new name and delete existing one (Support consumption + standard)