Plug-in telemetry with Application Insights integration


Some of the functionality described in this release plan has not been released. Delivery timelines may change and projected functionality may not be released (see Microsoft policy). Learn more: What's new and planned

Enabled for Public preview General availability
Admins, makers, marketers, or analysts, automatically Jul 2021 -

Business value

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.

Feature details

ILogger is a standard interface for writing log events. The interface enables writing log events for a set of log levels, such as Trace, Debug, Information, Warning, 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.