We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f81e9f commit c980882Copy full SHA for c980882
src/Websites/Websites/help/Set-AzWebApp.md
@@ -72,6 +72,15 @@ $hashtable = @{myConnectionString = @{Type='MySql';Value='MySql Connection stri
72
Set-AzWebApp -Name 'ContosoWebApp' -ResourceGroupName 'Default-Web-WestUS' -ConnectionString $hashtable
73
```
74
75
+### Example 5
76
+
77
+Enable application insights for Web App
78
+```azurepowershell-interactive
79
+$key=(Get-AzApplicationInsights -ResourceId $ai).InstrumentationKey
80
+$setting=@{"ApplicationInsightsAgent_EXTENSION_VERSION"="~3"; "APPINSIGHTS_INSTRUMENTATIONKEY"=$key}
81
+Set-AzWebApp -AppSettings $setting -Name 'ContosoWebApp' -ResourceGroupName 'Default-Web-WestUS'
82
+```
83
84
## PARAMETERS
85
86
### -AlwaysOn
0 commit comments