28

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.

dreftymac
  • 31,404
  • 26
  • 119
  • 182
Ravi Anand
  • 5,106
  • 9
  • 47
  • 77

6 Answers6

31

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

Milen
  • 8,697
  • 7
  • 43
  • 57
20

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

Paul
  • 346
  • 2
  • 4
2

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.

1

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"
Adam Marczak
  • 2,257
  • 9
  • 20
1

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

Chaitanya
  • 63
  • 1
  • 2
  • 10
0

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.

  • As it’s currently written, your answer is unclear. Please [edit] to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Apr 29 '23 at 19:59