Skip to content

Renaming a Function

David Ebbo edited this page Sep 27, 2016 · 1 revision

The UI does not directly support renaming a Function, but you can work around this using the following manual steps:

  1. Stop your Function App. To do this, go under Function app settings / Go To App Service Settings, and click on the Stop button.
  2. Go to Kudu Console: Function app settings / Go to Kudu
  3. In Kudu Console, go to D:\home\site\wwwroot and rename the Function folder to the new name
  4. Now go to D:\home\data\Functions\secrets and rename [oldname].json to [newname].json
  5. Then go to D:\home\data\Functions\sampledata and rename [oldname].dat to [newname].dat
  6. Start your function app, in the same place where you stopped it above
  7. In the Functions UI, click the refresh button in the top left corner, and your renamed function should appear

Note that doing this can lose some historical logging.

Learn

Azure Functions Basics

Advanced Concepts

Dotnet Functions

Java Functions

Node.js Functions

Python Functions

Host API's

Bindings

V2 Runtime

Contribute

Functions host

Language workers

Get Help

Other

Clone this wiki locally