Open JaimeStill opened 1 month ago
Thank you for opening this issue, we will look into it.
Here are some similar issues that might help you. Please check if they can solve your problem.
Here are some similar issues that might help you. Please check if they can solve your problem.
* ["az functionapp create --app-insights" doesn't link Application Insights #15176](https://github.com/Azure/azure-cli/issues/15176)
These are separate issues. In my case, app insights is linked to the specified web app. There is just no way to turn on application insights through the Azure CLI after they are connected.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @SameergMS, @yairgil.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @AzureAppServiceCLI, @antcp.
Describe the bug
az monitor app-insights component connect-webapp
is used to link a web app to an app insights instance. However, as far as I have been able to find, there is not an automated way of turning on app insights in the web app as you can on the Azure Portal:Related command
az monitor app-insights component connect-webapp
Errors
There are no errors associated, just missing functionality.
Issue script & Debug output
Currently configuring Azure Monitor as follows:
I have tried using
az webapp config appsettings
to compare the webapp configuration before and after turning on Application Insights.Adjusting the following configuration values seemed to turn on app insights, but it was not actually receiving telemetry data from my deployed web app:
Expected behavior
One of the following two scenarios:
When executing
az monitor app-insights component connect-webapp
, this should subsequently turn on Application Insights if it is not currently.An
az webapp
sub-command should allow you to explicitly turn on / off application insights.Environment Summary
Additional context
No response