0
votes

I am running one ASP.NET application in Azure Web Apps. And I have enabled Application Insights for that web app and it is working properly. I have got two other applications inside this web app as virtual applications. But Application Insights not working for them.

Application virtrual directories

I can't add the Application Insights SDK to the specified virtual applications.

Is there a way I can configure application insights for the virtual applications, without adding SDK?

2

2 Answers

0
votes

You will have to add the app insights SDK to all the app and be sure you set InstrumentationKey for each as well.

0
votes

It seems that Application insight could only run on root website, and if you want to to get functional at virtual directory level, you could vote up this feedback to promote the function to achieve.

BTW, the way you set up virtual applications may have some mistakes. You should set as below:

enter image description here

For more details, you could refer to the article-Deploying multiple virtual directories to a single Azure Website.