title | description | author | ms.author | ms.topic | ms.date | ms.custom | ms.reviewer | ms.search.form |
---|---|---|---|---|---|---|---|---|
Enable warehousing telemetry with Application Insights |
Learn how to set up Microsoft Dynamics 365 Supply Chain Management to send warehousing telemetry data to Application Insights. |
Mirzaab |
mirzaab |
how-to |
03/19/2024 |
bap-template |
kamaybac |
SysIntParameters |
[!include banner]
This article describes how to set up Microsoft Dynamics 365 Supply Chain Management to send warehousing telemetry data to Application Insights.
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
Start by setting up Application Insights on your Azure subscription.
-
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.
-
Sign in to the Azure portal for the account where you want to install Application Insights.
-
Create an Application Insights resource by following the instructions in Create an Application Insights resource.
-
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.
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.
-
Sign in to Supply Chain Management as a user who has system admin privileges.
-
Go to System administration > Setup > Monitoring and telemetry parameters.
-
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.
-
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.
-
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.
-
On the Action Pane, select Save to save your settings.
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.