Skip to main content

Proactive Monitoring of D365 FinOps with Application Insights

In this blog, we will delve into the powerful combination of Application Insights and explore how they can significantly enhance the performance optimization of your Dynamics 365 Finance and Operations (D365 FinOps).

What is Application Insights?
Application Insights is a cloud-based application performance monitoring (APM) service that helps you detect, diagnose, and resolve issues with your applications. APM tools are useful to monitor applications from development, through test, and into production in the following ways:
  • Proactively understand how an application is performing.
  • Reactively review application execution data to determine the cause of an incident.

It is able to provide real-time telemetry data on your application's performance, such as page load times, exception rates, and server response times. Application Insights also provides powerful analytics capabilities that allow you to visualize and analyze the telemetry data to gain insights into the health of your applications. With this data, you can identify performance bottlenecks, diagnose issues, and optimize your applications for better performance.


Why Use Application Insights with D365 FinOps?
D365 FinOps is a complex ERP solution that handles a wide range of business processes, from finance and accounting to supply chain management and production. With so many moving parts, it can be challenging to monitor and optimize the performance of the system. By integrating Application Insights with D365 FinOps, you can gain real-time visibility into the performance of your ERP solution and identify potential issues before they impact your business operations.

Here are some of the benefits of using Application Insights with D365 FinOps:
  1. Real-time Monitoring: With Application Insights, you can monitor the performance of your D365 FinOps solution in real-time. You can track key performance indicators (KPIs) such as response times, error rates, and page load times, and receive alerts when performance issues occur.
  2. Diagnose Issues: Application Insights provides detailed diagnostics and troubleshooting tools that can help you identify the root cause of issues with your D365 FinOps solution. You can use this information to quickly resolve issues and prevent them from recurring.
  3. Optimize Performance: With Application Insights, you can identify performance bottlenecks in your D365 FinOps solution and optimize it for better performance. You can use the data to identify areas that need improvement and make data-driven decisions to optimize your ERP solution.
  4. Proactive montoring: Setup alerts around custom queries and conditions. Read more on Harnessing the Power of Alerts on Application Insights.
Getting started with Application Insights
Configuring Application Insights with D365 FinOps is a straightforward process. Here's how to do it:
  1. Create an Application Insights resource in Azure Portal: Log in to the Azure portal and create a new Application Insights resource
  2. Copy the Instrumentation Key: Once you've created the Application Insights resource, copy the instrumentation key. This key is required to connect D365 FinOps with Application Insights. Add the key to the D365FinOps instance System Administration > Setup > Monitoring and telemetry parameters. Refer to Monitoring and telemetry using Application Insights to get an overview of how Application Insights works with D365 FinOps, and the rest of the setup process.
  3. Visualize and Analyze: Once your application is instrumented and the monitoring is in place, you can start visualizing and analyzing the collected data. Use the Application Insights portal or integrate with other analytics tools, such as Azure Monitor or Power BI, to gain deeper insights and generate meaningful reports and visualizations.
Performance Optimization
Application Insights can be used to significantly enhance the performance optimization of Dynamics 365 Finance and Operations (D365 FinOps) in a number of ways:
  • Identify performance bottlenecks: Application Insights can be used to identify performance bottlenecks in D365 FinOps by tracking the performance of individual transactions and requests. This information can then be used to optimize the application code and database queries.
  • Monitor resource usage: Application Insights can be used to monitor the resource usage of D365 FinOps, such as CPU, memory, and disk I/O. This information can be used to identify and address performance problems caused by resource overuse.
  • Troubleshoot problems: Application Insights can be used to troubleshoot problems in D365 FinOps by providing detailed information about the errors that are occurring. This information can then be used to identify the root cause of the problems and fix them.
Here are some specific examples of how Application Insights can be used to improve the performance of D365 FinOps:
  • Identify slow queries: Application Insights can be used to identify slow database queries that are impacting the performance of D365 FinOps. Once these queries have been identified, they can be optimized to improve performance.
  • Monitor API performance: Application Insights can be used to monitor the performance of D365 FinOps APIs. This information can be used to identify and address performance problems caused by API overuse or inefficient code.
  • Troubleshoot application errors: Application Insights can be used to troubleshoot application errors in D365 FinOps. This information can then be used to identify the root cause of the problems and fix them.
Conclusion
In today's technology-driven landscape, monitoring application performance is essential for delivering high-quality user experiences. Application Insights is a powerful tool that can help you monitor and optimize the performance of your D365 FinOps solution. By integrating Application Insights with D365 FinOps, you can gain near real-time visibility into the health of your ERP system and take proactive steps to ensure optimal performance and availability.

Written by: Patrick Sharma, Developer, Microsoft Dynamics 365 F&O, Retail & Commerce

Comments

Popular posts from this blog

Conditionally Hiding Menu Items in D365 FinOps Menus Without Using Feature Keys

In Microsoft Dynamics 365 Finance and Operations (D365 F&O), menu items are the links that can be clicked on to access forms, reports, classes, jobs, and queries. Feature keys are typically used to control the visibility of menu items based on user licenses. However, there are scenarios where you might want to hide menu items conditionally without relying on feature keys.  This can be accomplished by extending the 'SysMenuNavigationObjectFactory' class and modifying the checkAddSubMenu(...) method.  Suppose we want to hide the  Vendor payment journal menu item under Accounts payable > Payments > Vendor payment journal Steps 1. Create an extension of the SysMenuNavigationObjectFactory class [ ExtensionOf ( classStr (SysMenuNavigationObjectFactory))] internal final class SysMenuNavigationObjectFactory_PS_Extension { } 2. Create a Chain of Command (CoC) for the checkAddSubMenu method [ ExtensionOf ( classStr (SysMenuNavigationObjectFactory))] internal final...

Electronic reporting (ER) - Create custom destinations

Electronic reporting (ER) is a configurable tool in Microsoft Dynamics 365 that helps create and maintain regulatory electronic reporting and payments. Configuration of reports can be done by business users with the use of Visual Editors without the need for developers. Refer to Electronic reporting (ER) overview - Finance & Operations | Dynamics 365 | Microsoft Docs for more information and detailed overview on ER. Destinations can be configured for each ER format configuration and its output component. Destinations can only be set up for ER configurations that have been imported into the current Finance instance, and for the formats that are available on the Electronic reporting configurations page. The functionality for ER destination management is available at Organization administration > Electronic reporting > Electronic reporting destination.  Microsoft Dynamics 365 for Operations version 1611 (November 2016) or later allows the use of  the following destinat...

Dynamics 365 eCommerce - Setting up the Development Environment

Microsoft Dynamics 365 Commerce is an evolution of Dynamics 365 Retail, which launched with new and improved capabilities for e-commerce, content management. To begin development and extension on Dynamics 365 eCommerce we'll need to install the following tools on the development machine: VSCODE - https://code.visualstudio.com Node.js - https://nodejs.org   (Currently version 10.x is the main supported version and the MSI installer can be found here : https://nodejs.org/dist/latest-v10.x/   ) Yarn - https://legacy.yarnpkg.com Git - https://git-scm.com/downloads (Note that development on eCommerce is only supported on Windows (as at 18/06/20).) Create a folder in your local drive to hold the e-Commerce site code - 'C:\repos' Open CMD in administrator mode and go to the folder directory you just created and clone the  Microsoft eCommerce repository with the following command:  git clone https://github.com/microsoft/Msdyn365.Commerce.Online.git This may take a while....