For certain reasons I cannot use
az webapp config appsettings list -n appxxx-dfpg-dev4-web-eastus2-gateway-apsvc -g appxxx-dfpg-dev4-web-eastus2
Instead I want to achieve the same result by using Az PowerShell module, is there a way to do so?
For certain reasons I cannot use
az webapp config appsettings list -n appxxx-dfpg-dev4-web-eastus2-gateway-apsvc -g appxxx-dfpg-dev4-web-eastus2
Instead I want to achieve the same result by using Az PowerShell module, is there a way to do so?
You can use this powershell cmdlet Get-AzWebApp.
The sample code:
$myapp = Get-AzWebApp -ResourceGroupName "resource_group_name" -Name "azure_webapp_name"
$myapp.SiteConfig.AppSettings
The test result: