Skip to main content


Power Platform Community / Forums / General / App insights connectio...

App insights connection string

Posted on by 119



I have a bot set up to send telemetry to app insights in Azure. When deploying a bot to another environment through Pipelines, the app insights connection string is not retained in the target environment. Is this by design? Since the bot solution is managed in the target environment, adding the connection string manually will prevent future publisher updates. 

  • inzil2k Profile Picture
    inzil2k 119 on at
    Re: App insights connection string

    I tested by saving the connection string on a managed bot and seems like it didn't break anything. Subsequent deployments worked as usual

  • Verified answer
    HenryJammes Profile Picture
    HenryJammes on at
    Re: App insights connection string

    Hi @inzil2k,


    As far as I can tell, the Application Insights in the unified authoring version of PVA is not solution-aware.

    I.e. it should not impact the bot managed properties and the configuration doesn't deploy as part of solution.


    In the previous 'classic' version of PVA, the PVA instrumentation key was stored as an environment variable.

    Let me check if we have plans for something similar.



Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…


renatoromao Profile Picture

renatoromao 6,459

Pstork1 Profile Picture

Pstork1 1,954

Expiscornovus Profile Picture

Expiscornovus 1,667