Changing settings in Azure Web apps with powershell.

Wesley Pleijsier 1 Reputation point
2020-04-23T11:54:31+00:00

I am making a powershell script that deploys an app service and changes the configuration automatically.

An example of such configurations are: the platform setting to set the azure platform to 64bit. i changed this with:
$WebAppPropertiesObject = @{"siteConfig" = @{"AlwaysOn" = $true ; "Use32BitWorkerProcess" = $false } ; "ClientAffinityEnabled" = $false }
Set-AzureRmResource -resourceid $prodApp.Id -Properties $WebAppPropertiesObject -Force

Now im looking for the other general settings. but i cant find the correct name and value for the setting.

Does anybody know where i can retrieve these specifications?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,913 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Grmacjon-MSFT 18,451 Reputation points
    2020-04-24T17:15:06.227+00:00

    Hi @Wesley Pleijsier ,

    You can find additional configuration settings PowerShell cmdlets in this documentation: https://learn.microsoft.com/en-us/powershell/module/azurerm.websites/set-azurermwebapp?view=azurermps-6.13.0

    Let us know if you have further questions.

    Thanks,
    Grace


Your answer

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