Hello I tried the steps outlined in this document and when I try create az webapp create command iam seeing the following error runtime python|3.4 was throwing error
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thanks for your feedback! We will investigate and update as appropriate.
@usharam73 we have gone ahead and assigned this to the doc author to provide feedback as necessary.
@cephalin Can you please investigate this? I'm unable to repro this due to not having the necessary hardware for this doc.
I ran the command without the runtime option and I later created an extension for python and was able to successfully deploy the hello world to the azure web app service.
Tracking this internally at https://mseng.visualstudio.com/TechnicalContent/_workitems/edit/1215703
@usharam73 Thanks for your feedback! By chance, are you using the Azure CLI from a PowerShell window?
Possibly related to #5957
Experiencing this too from my local Bash terminal (azure CLI tools installed with homebrew).
@usharam73 how did you create the web app without a runtime?
I get usage error: must specify --runtime | --deployment-container-image-name
Also, both Python options are unavailable to me in the web interface:

@ahmedelnably Can you assist here?
Python is only available on Windows App Service, @foucdeg The runtime list that you are showing is the Linux runtime list, you need to make sure that your app is a Windows app, for the command to work.
@usharam73 Can you confirm that you were attempting to create an App Service on Linux? Thanks!
@ahmedelnably worked with Windows, thanks. But I still have @usharam73 's issue with the CLI.
@usharam73 I believe the original error was related to running the CLI command in the PowerShell cloud shell. The tutorial is now updated with PowerShell specific syntax. #please-close
@cephalin @BryanTrach-MSFT @MohitGargMSFT I still have the same issue. Here is what I have been trying
az webapp create -g <resource> -n <name> -p <plan> --runtime "python|2.7" --deploy-local-gitaz webapp list-runtimes | grep python : "python|2.7"I have also tried to use PowerShell escape character(with in PowerShell) as per #5957 but no luck. I get the same error.
To me it doesn't look like issue with type of cloud shell. Can you please assist ?
@prasdeva by the way --deploy-local-git should be --deployment-local-git. Also, I cannot reproduce the error with a Windows App Service plan. If you use it in a Linux App Service plan then you'd get an error. To see what runtime support Linux, use
az webapp list-runtimes --Linux
@cephalin Thanks for pointing this out. I didn't realise that, there could be differences in Windows and Linux runtime.
does that mean Linux python web apps will not be supported on Azure ?
App Service on Linux uses container technology, so you can run python web apps in a custom image/container. See https://docs.microsoft.com/en-us/azure/app-service/containers/tutorial-docker-python-postgresql-app. the list-runtimes command shows you all available built-in images, which doesn't contain a python image at the moment.