Konfiguracja Application Insights z Business Central Online

#OutOfTheBoxBC # 24 Modern UI - Configure Application Insights with Business Central Online

Referring to the previous post, let’s stay on the subject of data processing and storage. In today’s Out Of The Box Business Central series, I’ll show you how to configure a hosted Azure service, Application Insights, with Business Central Online.

In a nutshell, this service collects telemetry data for analysis and presentation. With it, you can monitor a given system live. It automatically detects performance anomalies and includes advanced analytical tools to help diagnose problems. It allows you to view data to see what and when users are actually doing with the application. I invite you to read the Microsoft documentation on this topic, the issue is really extensive.

Going back to the essence, i.e. the configuration itself, let’s start by creating an Application Insights resource. To do this, access to Microsoft Azure is required. After creating your account and logging in, you should see the home page:

Konfiguracja Application Insights z Business Central Online

To initiate the creation of an Application Insights resource, expand the list on the left, and then select: All services> Category: Monitor> Application Insights> New.

Konfiguracja Application Insights z Business Central Online

On the newly opened page, fill in all the required fields according to the instructions and proceed to the next stage via the field: Viewing + creating.

Konfiguracja Application Insights z Business Central Online

After verification of the entered data, we can create the service by clicking the button: Create.

Konfiguracja Application Insights z Business Central Online

Once the deployment is complete, go to the resource and copy the instrumentation key to then match Application Insights to Business Central Online.

Konfiguracja Application Insights z Business Central Online

In the tab: Overview, on the right there is the instrumentation key.

Konfiguracja Application Insights z Business Central Online

This is where the process in Microsoft Azure ends. With the key copied above, go to the Business Central system, and more specifically to the Admin Center:

Konfiguracja Application Insights z Business Central Online

On the next page, select the environment to be monitored.

Konfiguracja Application Insights z Business Central Online

 The next step is to paste the key and commit the changes.

Konfiguracja Application Insights z Business Central Online

At this point, Application Insights setup with Business Central Online is complete. The service from then on receives telemetry data issued by BC. On the example of user monitoring it can be seen:

Konfiguracja Application Insights z Business Central Online

The world of monitoring with all the additions is open to the user. This is just the beginning, I encourage you to check the documentation about the capabilities of Application Insights.