Enable warehousing telemetry with Application Insights

This article describes how to set up Microsoft Dynamics 365 Supply Chain Management to send warehousing telemetry data to Application Insights.

Turn the telemetry feature on or off for your system

Before you can use the telemetry feature in Supply Chain Management, you must turn it on for your system. Admins can use the feature management settings to check the status of the feature and turn it on. In the Feature management workspace, the feature is listed in the following way:

  • Module: System administration
  • Feature name: Monitoring and telemetry

Set up Application Insights

Start by setting up Application Insights on your Azure subscription.

  1. If you don't already have a subscription to Azure, get one.

    Note

    You can set up the Application Insights resource on any Azure tenant that can be accessed by your system. For example, you might set up Application Insights on a tenant that belongs to your Microsoft partner. In this case, your Microsoft partner will be able to analyze your telemetry data even if they don't have access to your Azure tenant.

  2. Sign in to the Azure portal for the account where you want to install Application Insights.

  3. Create an Application Insights resource by following the instructions in Create an Application Insights resource.

  4. Keep a copy of the Instrumentation key or Connection string value for your Application Insights resource. (For more information, see Create an Application Insights resource.) You will need this value later, when you set up Supply Chain Management to submit the data.

Set up your apps to send telemetry data to Application Insights

After you've set up Application Insights and have a copy of its instrumentation key, you're ready to enable Supply Chain Management to send telemetry data.

  1. Sign in to Supply Chain Management as a user who has system admin privileges.

  2. Go to System administration > Setup > Monitoring and telemetry parameters.

  3. On the Configure tab, set the following fields:

    • User sessions (custom events) - This must be enabled to capture warehouse events. You should set this option to Yes.
    • Warehouse events – Specify whether you want to send warehousing telemetry data to Application Insights. You should set this option to Yes.
  4. On the Environments tab, set the following fields:

    • LCS Environment ID – Enter the ID of the Microsoft Dynamics Lifecycle Services environment that you want to send telemetry data from. To find this ID, sign in to Lifecycle Services, and open the environment details page for your environment. In the Environment Details section, look for the Environment ID field.
    • Environment mode – Specify the mode of your selected environment. The supported environment modes are Development, Test, and Production.
  5. On the Application Insights registry tab, set the following fields:

    • Environment mode – Specify the mode of your selected environment. The value must match the value that you specified on the Environments tab.
    • Connection string or Instrumentation key – Enter the value that you copied when you set up Application Insights in Azure.

    Note

    You can use the same instrumentation key for different environment modes.

  6. On the Action Pane, select Save to save your settings.

Pricing

Application Insights is billed based on the volume of telemetry data that your application sends (data ingestion) and the length of time that you want data to be available (data retention). For up-to-date information about pricing, see Azure Monitor pricing.

Next steps