question

chaowenguo-9404 avatar image
0 Votes"
chaowenguo-9404 asked JayaC-MSFT answered

how to create azure function with docker image and consumption-plan

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'

azure-functions
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JayaC-MSFT avatar image
0 Votes"
JayaC-MSFT answered

Hello @chaowenguo-9404 Welcome to Microsoft QnA. Thank you for the question.

did you already follow this https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-function-linux-custom-image?tabs=bash%2Cportal&pivots=programming-language-csharp ?

Also could you please confirm if you have any other windows application residing within the same resource group.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.