Setting platform and stack using powershell for app services

WinTechie 286 Reputation points
2023-09-11T18:00:07.9+00:00

Hi,

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.

Windows for business | Windows Server | User experience | PowerShell
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
{count} votes

1 answer

Sort by: Most helpful
  1. VenkateshDodda-MSFT 25,241 Reputation points Microsoft Employee Moderator
    2023-09-12T04:04:43.6766667+00:00

    @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.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.