Using The Trace Function In Power Apps


The Power Apps trace function allows developers to send custom messages to log user activity, performance, and potential errors. It is a useful tool for monitoring and debugging. The trace function sends telemetry to Monitor and Azure App Insights, allowing developers to log information without presenting it to the user. Examples of information that can be logged include the time it takes to run a block of Power Fx, retrieve data, track user journeys, and track errors for key functionality. The trace function is written as "Trace(Message [, TraceSeverity [, CustomRecord [, TraceOptions ] ] ])."


Article 19m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time