Plug-in telemetry with Application Insights integration
This content is archived and is not being updated. For the latest documentation, go to What is Microsoft Dataverse?. For the latest release plans, go to Dynamics 365 and Microsoft Power Platform release plans.
|Enabled for||Public preview||General availability|
|Admins, makers, marketers, or analysts, automatically||Jul 1, 2021||-|
Customers who have associated their environment with their Application Insights resource can view telemetry for log events written from their plug-in code. This data, together with the standard data about server events occurring within Microsoft Dataverse, provide a complete picture for what would otherwise seem to be a "black box." This empowers plug-in developers and people who maintain systems to accurately diagnose issues occurring within plug-in code running in their environment.
ILogger is a standard interface for writing log events. The interface enables writing log events for a set of log levels, such as
Error. These levels of logs help in identifying and discriminating various types of log events written to telemetry. The developer doesn't need to configure or include Application Insights SDK assemblies because everything is already set up.
When this method of logging is used, data is sent to the Application Insights resource that is associated with the customer's environment. Customers must opt-in to the Application Insights integration by registering their Application Insights resource key in Power Platform admin center.
For more information about the Microsoft Dataverse Application Insights integration, go to Model-driven apps and Microsoft Dataverse diagnostics and performance data in customer's own Azure Application Insights.