Oleg Sh
Oleg Sh

Reputation: 9013

Remove several functions from Azure Function App

I have a Azure Function App, with many functions inside:

enter image description here

I need to remove some functions from this Azure Function App. How to do it? "Delete function" option is disabled

Upvotes: 3

Views: 3529

Answers (2)

George Chen
George Chen

Reputation: 14324

You couldn't delete your function because your Function app edit mode is Read Only, your manage page would be like this:

enter image description here

So your need go to Function app settings page, switch the edit mode to Read/Write, then you will be able to delete the function.

enter image description here enter image description here

Upvotes: 3

Oleg Sh
Oleg Sh

Reputation: 9013

I solved a solution, probably, it would be interesting for other:

  1. go to Azure portal (https://portal.azure.com), select your Function App

  2. select Platform features tab

enter image description here

  1. select Kudu from feature list:

enter image description here

  1. select Debug Console -> CMD, then go to site/wwwroot and delete unnecessary functions:

enter image description here

  1. Stop/Start Function App.

  2. Enjoy!

Upvotes: 1

Related Questions