Reputation: 859
I want to create an Azure Function App using python language. But I don't want to use any tools like Visual Code Editor. I want to use the inline code editor of azure because my code is not that big.
I created a function app with below details:
publish: code
stack: python
version: 3.7
Region: Central US
OS: Linux
Plan Type: Consumption
But after the function app is created it did not allow me to use inline editor. I get the below error
Editing functions in the Azure portal is not supported for Linux Consumption Function Apps.
Upvotes: 6
Views: 5262
Reputation: 111
This probably changed since 2020 when the original question was asked, and now I can create Linux based, Python functions on Azure portal and have the in-portal python code editor.
The only requirement, as far as I can see, is to create/use the storage account for the function when creating Function App - as well as Azure Files connection. Without the Azure Files connection, I can create/edit functions only using VSCode.
Upvotes: 0
Reputation: 338
You can use command-line tools to create a Python function app on Azure on consumption or dedicated plans.
Please find the steps here.
Editing functions is not supported at this time for Python function apps on both Consumption and dedicated app service plans. Please check this GitHub announcement.
Upvotes: 3
Reputation: 222722
Right now Python is supported only on the Linux Consumption plan and as of now you cannot edit function using Azure portal for Linux consumption Apps.
I would recommend you to go through this issue to understand more
Upvotes: 4
Reputation: 18387
The error message is pretty clear: you can't edit functions using Azure Portal For Linux Consumption Function Apps. You must create a Windows Consumption function app
Upvotes: 0