How to add an instance that was deleted earlier (For .NET and .NET Core agents)
Steps for .NET agent
- Navigate to the below paths:
- %ProgramData%\DotNetAgent\
- %ProgramData%\DotNetCoreAgent\ (For agent version 6.8 and above)
- Delete the apminsight.net.info file from the folder with the same name as the application.
Note: The name of the monitor folder created for the selected application will be the same as that application's name. - Restart the APM Insight .NET Agent service.
Note: It will recycle the application pools. - Perform some transactions manually.
Steps for .NET Core agent

The following steps are applicable for .NET Core agent version 6.7 and below. For agent version 6.8 and above, please follow the .NET steps given above.
You can follow any of the below methods.
Adding agent via PowerShell
- Navigate to the path: [AgentDestinationPath]\Site24x7DotNetCoreAgent\
- Delete the apminsight.net.info file found in the folder with the same name as the application.
Note: The name of the monitor folder created for the selected application will be the same as that application's name. - Restart the .NET Core applications.
- Perform some transactions manually.
Adding agent via NuGet package
- Navigate to the application's publish directory.
- Navigate to the DotNetAgent\[Application Name] folder.
- Delete the apminsight.net.info file.
- Restart the .NET Core application.
- Perform some transactions manually.
Adding agent via Azure App service extension (For .NET and .NET Core)
- Navigate to http://[yoursitename].scm.azurewebsites.net in your web browser.
- Go to Debug Console > CMD to open the file explorer.
- Navigate to the following path: Site24x7DotNetAgent\DotNetAgent_[servername]\[yourAppName]
Note: If the path is not available, upgrade the APM Insight extension to the latest version.
- Delete the apminsight.net.info file.

- Restart the Azure App Service and start performing some transactions manually.