How to Install .NET agent via command line
Follow the instructions given below to install APM Insight .Net agent via command line:
- Download APM Insight .NET agent (apminsight-dotnetagent.msi) here.
- Navigate to the path where you have downloaded the msi file and execute the following command:
msiexec -i apminsight-dotnetagent.msi license.key=<YOUR LICENSE KEY> editconfig=false iisreset=false /log apm_install.log /quiet
|
For version 7.0.2 and above:

msiexec -i apminsight-dotnetagent.msi license.key=<Your_License_Key> apm.host=<https/http>://<APM_HOST>:<APM_PORT> apm_exporter_host=<DATA_EXPORTER_HOST> apm_exporter_status_port=<DATA_EXPORTER_STATUS_PORT> apm_exporter_data_port=<DATA_EXPORTER_DATA_PORT> editconfig=false iisreset=true /log apm_install.log /quiet
Given configurations are optional:
- apm_exporter_host
By default, DATA_EXPORTER_HOST=localhost - apm_exporter_status_port
By default, DATA_EXPORTER_STATUS_PORT=20021 - apm_exporter_data_port
By default, DATA_EXPORTER_DATA_PORT=20022
For version 6.7.1 to v6.9.2:
msiexec -i apminsight-dotnetagent.msi license.key=<Your_License_Key> apm.host=<https/http>://<APM_HOST>:<APM_PORT> editconfig=false iisreset=true /log apm_install.log /quiet
For version 6.5.1 to 6.7.0:
msiexec -i apminsight-dotnetagent.msi license.key=<Your_License_Key> apm.host=<APM_HOST> apm.port=<APM_PORT> apm.protocol.https=True editconfig=false iisreset=true /log apm_install.log /quiet
Command line arguments:
editconfig - Agent will open edit configuration window by default. Set this to false to install the agent without opening the edit configuration window.
iisreset - Agent resets IIS by default. Set this to false to install without resetting IIS.
NOTE: Agent can monitor the applications only after running the iisreset.
Note: Perform some transaction to start monitoring
New to ADSelfService Plus?
Related Articles
APMInsight - NET Agent Onboarding - KB
This document provides a step-by-step guide to onboard and troubleshoot the APM Insight .NET Agent. It includes environment verification, permission checks, network connectivity validation, and solutions for common installation and configuration ...
APMInsight - .NET Agent Data Collection - KB
Overview 📌 Note: For any onboarding or agent installation-related issues, please refer to the APM Insight .NET Agent Onboarding KB. This document provides a step-by-step guide to troubleshoot the data collection issue with the APM Insight .NET ...
How to Install .NET agent on AWS Elastic Beanstalk?
One of the two options listed below can be used to install APM Insight agent onto a .NET web application hosted in Elastic Beanstalk environment via ebextensions. Deployment through AWS kit for Visual Studio. Deployment via uploading packages to AWS ...
APM Insight Java Agent – Onboarding & Troubleshooting Guide
This guide helps support engineers troubleshoot cases where the APM Insight Java Agent is not onboarding (not appearing in Applications Manager) after installation. Follow the step-by-step verification checklist in Section 2 to quickly diagnose and ...
How to install .NET agent on Azure app services?
You can track the performance of your .NET and .NET Core web app's key metrics like response time, throughput, and Apdex score via the APM Insight .NET agent hosted in Azure App Services. Installing APM Insight extension via Azure portal 1. Log in to ...