I use the following command to create azure function:
az group create -n azurefun -l westus
az storage account create -n azurefun -g azurefun -l westus
az functionapp create -n azurefunazurefun -s azurefun -g azurefun -c westus -i chaowenguo/azurefun --functions-version 3
But I get Operation returned an invalid status 'Bad Request'