Igor
Igor

Reputation: 354

Can not develop the second Azure function directly in the portal(only the first function is allowed to be developed in portal)

I'm using Azure(Free subscription) with function version 3.x (.Net Core 3.1). the problem is that it is not possible to develop the second function using the "Develop in portal" option after the first one was published using VS2019 publish wizard. How to add the second function to the function app using the "Develop in portal" editor?

Azure portal function editor image

Steps to reproduce:

  1. Create am Azure function in VS2019 and publish it to the portal
  2. Go to the portal, select the new function app and try to add the second function using "Develop in portal" option

Result: "Develop in portal" option is not available

Note: if the first function is created using the "Develop in portal" option, then the second one also can be created in portal using the same procedure.

Upvotes: 1

Views: 886

Answers (1)

Peter Bons
Peter Bons

Reputation: 29711

That is correct, once deployed using VS 2019 you need to add new functions to the same function app using the code that is being deployed. So you need to add multiple functions to the solution.

There should also be a message warning you about the function app being in a readonly state due to this. For example:

enter image description here

Upvotes: 1

Related Questions