none
Forbidden when using app insight

    Question

  • I'm using an azure storage queue and table in a node web app. Everything is working as expected until I use azure app insight, then i start getting forbidden errors when using the queue. Any idea why this happens?

    appInsights.setup().start()

    When using this i always get forbidden errors when working with the queue. If i remove it everything works.

    Saturday, March 18, 2017 6:22 PM

All replies

  • Did you try putting instrumentation key as a parameter to setup() method? E.g.

    appInsights.setup("<instrumentation_key>").start()

    Looking at the current implementation, It looks like you have setup an environmental variable i.e. APPINSIGHTS_INSTRUMENTATIONKEY (validate if you have set it correctly) maybe that is where the exception is being thrown. 


    Bhushan |




    Sunday, March 19, 2017 6:38 AM