App Insights for FnO in 15 Minutes

When LCS is being deprecated eventually, we will loose our main source of out of the box monitoring and telemetry for Dynamics 365 for Finance and Supply Chain. Fortunately Microsoft has a plan and D365Fo is now able to connect and sent telemetry to Azure Application insights.

Application Insight is Microsoft’s service for Telemetry and Insights. It receives data, stores it in a database and you run queries against it and build dashboards to see health of your environment. Most Azure Services can also sent telemetry to Application Insights, this means that you will have a "single pane of glass" where you can see D365FO and Integration Services in the same timeline.

When I talk to my customers, most of them think that is a hard thing to set up… in this post I will show the steps and do it in 15 minutes:

  1. Create a new App Insights Instance

    Pasted image 20250514090510.png
    Wait for it to finish

  2. Set retention of data. If you are doing the setup for test, dev or lab it is a great idea to limit the amount of data that is saved (since that is what drives cost)

    1. Go to the Analytics Workspace
      BlogPost - Appinsights in 15 Minutes.png
    2. Click Usage and Estimated Cost
      BlogPost - Appinsights in 15 Minutes-1.png
    3. Set a Daily Cap to limit the amount of data collected per day
      BlogPost - Appinsights in 15 Minutes-2.png
    4. Set the time data will be retained
      BlogPost - Appinsights in 15 Minutes-3.png
  3. In FnO, activate the Feature "Monitoring and Telemetry"
    Pasted image 20250514090844.png
  4. In Fno Go to Monitoring and Telemetry in System Administration
  5. Activate all the checkboxes
    Pasted image 20250514091013.png
  6. In Environments, create your environemtn

    1. ID in LCS or in PPAC
    2. Set Mode
    3. Save
  7. In Application Insight Registry

    1. Enter instrumentation Key from Azure
    2. Enter the Connection String
  8. Verify functionality

    1. Click around in FnO
    2. In the Log Analytics Workspace, click Logs and dismiss the pop-up
    3. Click Page Views and choose run
      BlogPost - Appinsights in 15 Minutes-4.png
    4. Now you have data 🙂
      BlogPost - Appinsights in 15 Minutes-5.png
      This was a really quick setup (it actually took 15 minutes, including the initial draft of the blog post) of App Insights and as you might imagine now we are at the point where the real work starts. Making sense of your data is the real job.

Microsoft Fasttrack has released a bunch of ready-made reports and dashboards that you can use to get started. These are made for Azure Data Analytics which I will set up in a later blogpost. There are also a whole bunch of new feature coming that we will also look into in later posts.

Good Luck getting started with Application Insights

Comments

Leave a Reply

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)