question

WesleyPleijsier-4846 avatar image
0 Votes"
WesleyPleijsier-4846 asked ·

Changing settings in Azure Web apps with powershell.

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-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered ·

Hi @wesleyPleijsier-4846,

You can find additional configuration settings PowerShell cmdlets in this documentation: https://docs.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

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @WesleyPleijsier-4846,

Did the above solution help answer your question?

0 Votes 0 ·