Azure App Service | Add/Modify/Update application settings using PowerShell
Issue:
· How can I update Azure app service application settings through PowerShell?
· Add/Modify/Update application settings for azure app service using PowerShell.
Solution:
$resourceGroupName ="Your resource group name" $appServiceName = "Your web app name" $webAppOutput = Get-AzureRmWebApp -ResourceGroupName $resourceGroupName -Name $ appServiceName $ webAppOutput.SiteConfig.AppSettings $newAppSettings = @{} $newAppSettings.Add("new setting" , "new Value") Set-AzureRmWebApp -AppSettings $newAppSettings -Name $ appServiceName -ResourceGroupName $resourceGroupName |
I hope this helps. Please share you query/feedback.
Other useful references,
Issue: Azure function is throwing one of the following exceptions · Unable to retrieve Functions Keys · We are not able to retrieve the keys for function · The function runtime is unable to start. · Function host is not running. · Internal Server error. · Service Unavailable. |
Issue: Azure Functions: The Consumption pricing tier is not allowed in this resource group |
Issue: Disable Azure functions |