You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [X] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Application Insights is not enabled by default, even though AZURE_USE_APPLICATION_INSIGHTS is set to true.
After deploying the app and checking Application Insights under the web app resource in the Azure portal, I noticed that Application Insights is not enabled, no Application Insights resource was created automatically, and the web app was not connected to it.
I see this page:
To ensure that Application Insights is enabled as part of the deployment process using Bicep, we need to add the one property in the appservice.bicep file under the resource configAppSettings:
ApplicationInsightsAgent_EXTENSION_VERSION: '~2'
The final code should look like this after adding the line above:
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Application Insights is not enabled by default, even though
AZURE_USE_APPLICATION_INSIGHTS
is set totrue
.After deploying the app and checking Application Insights under the web app resource in the Azure portal, I noticed that Application Insights is not enabled, no Application Insights resource was created automatically, and the web app was not connected to it.
I see this page:
To ensure that Application Insights is enabled as part of the deployment process using Bicep, we need to add the one property in the
appservice.bicep
file under the resourceconfigAppSettings
:The final code should look like this after adding the line above:
Thanks for your help!
Any log messages given by the failure
None
Expected/desired behavior
Application Insights is enabled by default.
OS and Version?
Debian GNU/Linux 12 (bookworm)
azd version?
1.10.1 (commit 31409a33266fb4a5fdbb644bc83988e725d6c7c9)
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: