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

Prav 46 Reputation points
2020-11-02T16:29:01.507+00:00

{"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
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,119 questions
{count} votes

2 answers

Sort by: Most helpful
  1. JayaC-MSFT 5,516 Reputation points
    2020-11-21T14:57:11.023+00:00

    @Prav , @Jimmy Woolley , @sébastien seb 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 people found this answer helpful.

  2. TaylanT 6 Reputation points
    2021-03-29T13:17:33.347+00:00

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

    1 person found this answer helpful.