question

Prav-7255 avatar image
8 Votes"
Prav-7255 asked TaylanT-3400 published

I get error when trying to create `Azure Function` from portal.

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"BadRequest","message":"{\r\n \"Code\": \"BadRequest\",\r\n \"Message\": \"Cannot update the site 'lift' because it uses x64 worker process which is not allowed in the target compute mode.\",\r\n \"Target\": null,\r\n \"Details\": [\r\n {\r\n \"Message\": \"Cannot update the site 'lift' because it uses x64 worker process which is not allowed in the target compute mode.\"\r\n },\r\n {\r\n \"Code\": \"BadRequest\"\r\n },\r\n {\r\n \"ErrorEntity\": {\r\n \"ExtendedCode\": \"04066\",\r\n \"MessageTemplate\": \"Cannot update the site '{0}' because it uses x64 worker process which is not allowed in the target compute mode.\",\r\n \"Parameters\": [\r\n \"lift\"\r\n ],\r\n \"Code\": \"BadRequest\",\r\n \"Message\": \"Cannot update the site 'lift' because it uses x64 worker process which is not allowed in the target compute mode.\"\r\n }\r\n }\r\n ],\r\n \"Innererror\": null\r\n}"}]}

azure-functions
· 2
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.

also getting this

Cannot update the site because it uses x64 worker process which is not allowed in the target compute mode.

0 Votes 0 ·

Hi,

I get the same error on my side.

Seb

0 Votes 0 ·
JayaC-MSFT avatar image
1 Vote"
JayaC-MSFT answered JayaC-MSFT commented

@Prav-7255, @JimmyWoolley-8693, @sbastienseb-6448 We haven't received any further information on this. I am assuming you are trying to create python/java functions on Free SKU. In that case, it could be a restriction as these stacks work on 64 bit workers and free sku doesn't support 64 bit workers. So we end up blocking function apps on Free sku since the language could be changed later.

Our team is also working on certain improvements regarding this.

Please let me know if this is the scenario for you and whether this answer helped. If yes, please do not forget to "accept the answer" and "up-vote" so that it could help others.

· 2
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.

@JayaC-MSFT This helped answer the question for me. I was trying to create a Python function in the free tier (F1) and go this error message. I created it with a Basic tier and it worked.

Suggestion: Block the selection of the Free tier when Python is selected. Or vice-versa: block the selection of Python when Free tier is selected. It's frustrating to get through to the deployment step and get this error.

Also, I had to use Google search to find this answer. Bing didn't find it with the identical search term.

1 Vote 1 ·

Hello @matt-manuel I am glad that it helped. You are correct. This selection should be blocked and this has already been proposed to the core team and will be implemented soon. however, if it helped, could you please accept it as answer and upvote so that it helps others?

0 Votes 0 ·
TaylanT-3400 avatar image
0 Votes"
TaylanT-3400 answered TaylanT-3400 published

same probleme here. Is there a workaround to block the Free Tier selection via the CLI when using az functionapp create.. ?

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.