Announcements
Hey all. I would like to use App Insights to provide telemetry for my Canvas App but was wondering how ALM would work. My team has 3 sets of environments and would like 3 corresponding App Insights resources but it doesn't seem like I am able to dynamically populate the instrumentation key value inside of my Canvas App with an environment variable. Moreover, when I imported our Dev solution to our QA environment, the instrumentation key of our dev app insights resource was present inside of our QA Canvas App. Any thoughts?
Telemetry field value is fixed, however, there are solutions. 2 methods as an example:You can create custom traces in your apps, in the traces, insert the app id so you can create dynamic traces and filter the app insights traces based on the app id.For doing ALM i wrote an article on LinkedIn: https://www.linkedin.com/pulse/powerapps-how-f-do-you-even-manage-instrumentation-keys-iona-varga/Via PowerShell scripts in DevOps you can change the app insights keys, I implemented this for a company once so it's doable. Its not quite easy though. I would go with custom traces.
@Ionaaa Thanks for that! Your link is now broken btw! 😞
related feature request: Ability to add function on Instrumentation Key in ... - Power Platform Community (microsoft.com)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 463
WarrenBelz 364 Most Valuable Professional
11manish 275