How to use the same Instrumentation Key in azure and dev center

97 Views Asked by At

Currently I have two Instrumentations Key, one in the Azure Application Insights, and another in the Windows Dev Center.

My ApplicationInsights.config has the Azure key so I don't see analytics in the dev center.

Is there anyway to change the Windows Dev Center key to the same as Azure, or vice versa?

Thanks

1

There are 1 best solutions below

0
On BEST ANSWER

I managed to resolve this issue. My ApplicationInsights.config was badly configured, it was missing the xmlns. It should be like this:

<?xml version="1.0" encoding="utf-8" ?>
<ApplicationInsights xmlns="http://schemas.microsoft.com/ApplicationInsights/2013/Settings">
    <InstrumentationKey> ...key here... </InstrumentationKey>
</ApplicationInsights>

Instead, I had it like this:

<?xml version="1.0" encoding="utf-8" ?>
<ApplicationInsights>
    <InstrumentationKey> ...key here... </InstrumentationKey>
</ApplicationInsights>