Setting platform and stack using powershell for app services

WinTechie 281 Reputation points


I am looking for configuring platform settings (32/64 bit) and stack settings (.Net/Node/Python etc) in azure app services using powershell.

Any inputs would be appreciated.

A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,045 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,865 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 18,176 Reputation points Microsoft Employee

    @WinTechie Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.

    To Configure the Platform settings like platform (changing bit size of worker process) you can use any of the below PowerShell cmdlet or AzCLI cmdlets to achieve this.

    Power Shell Cmdlet :

    Set-AzWebApp -ResourceGroupName <group-name> -Name <app-name> -Use32BitWorkerProcess $True|$False 

    AzCLI Cmdlet :

    az webapp config set --resource-group <group-name> --name <app-name> --use-32bit-worker-process [true|false] --web-sockets-enabled [true|false] 

    Refer to this documentation about how to configure general settings in app service.

    Feel free to reach back to me if you have any further questions on this.