3
votes

I was following the steps as described in Publishing a .NET class library as a Function App and for the most part I got everything set up and tested.

I have one last pending issue. When I try to publish the app, trying to select an existing "Microsoft Azure App Service" yields no results (on all my subscriptions) even though I have a few existing ones (from previous tests manually created in the portal).

On the other hand, if I try to create a new one (from VS) I am not allowed to choose a "Consumption plan", only Bx, Sx and Px. I tried creating an app service on consumption plan manually in the portal, but I was not offered this option.

Is "consumption plan" a thing of the past? Or is something wrong with my subscription?

1

1 Answers

4
votes

Consumption plan is not a thing of the past. On the portal, I think you can't create it from "New App Service Plan" dialog. Instead, try creating "Function App" and then pick "Consumption Plan" in "Hosting Plan" drop down.

As to your issues with Visual Studio - I had that while using Azure SDK which was out of date. So try updating it to a new version.