WebApp: Can't set 64bit using "az webapp" cmd
I didn't find any doc about how to set platform "64bit" using cli. The only way is to change it in azure portal. But i want to autmate it using az command. By default, it sets to 32bit platform in configuration. But my .net core app is compiled to win-64. if i deploy this .net core app, web app service will report error. So is there any way to set it using az command?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.
Issue meta data
| Issue content: | I didn't find any doc about how to set platform "64bit" using cli. The only way is to change it in azure portal. But i want to autmate it using az command. By default, it sets to 32bit platform in configuration. But my .net core app is compiled to win-64. if i deploy this .net core app, web app service will report error. So is there any way to set it using az command? |
| Issue author: | hanhsia |
| Assignees: | - |
| Milestone: | - |
route to appropriate team to help look at it.
I am wondering how to do this as well.
This is working for me: az webapp config set --name $WEBAPP_NAME --resource-group $RESOURCEGROUP_NAME --use-32bit-worker-process false
that's it. thanks.
Hello
This should work.
Set-AzureWebsite "websitenamegoeshere" -Use32BitWorkerProcess $false
From: https://learn.microsoft.com/en-us/azure/templates/microsoft.web/sites/config?pivots=deployment-language-bicep
Use32BitWorkerProcess is described here: https://learn.microsoft.com/en-us/azure/templates/microsoft.web/sites/config?pivots=deployment-language-bicep