Unable to add the APM Insight extension for Azure classic VMs in the new portal

Unable to add the APM Insight extension for Azure classic VMs in the new portal

While trying to add APM Insight Extension in classic VMs through the Azure portal, you may get the following error:

Extension with publisher 'Site24x7', type 'Site24x7APMInsightExtn', and type handler version '1.0' could not be found in the extension repository. (Code: ArtifactNotFound) 

In such cases, the extension can be added via PowerShell scripts. To add the extension from PowerShell command line, use the following commands. 

$vmObject = (Get-AzureVM -ServiceName <serviceName of Azure classic VM> -Name <name of classic VM>)

Set-AzureVMExtension -Publisher Site24x7 -ExtensionName Site24x7ApmInsightExtn -Version 1.2 -ReferenceName Site24x7ApmInsightExtn -PublicConfiguration '{"site24x7LicenseKey":"<your license key>"}' -VM $vmObject  -Verbose
 
$vmObject -Verbose -Debug | Update-AzureVM 

If you require further support write to us at support@site24x7.com. Please send us the output of these commands and or the audit logs for troubleshooting. 


    • Related Articles

    • DC migration steps for APM Insight agents

      For Server based installations 1. Obtain the new device key. 2. Update the license.key value in the APM Insight configuration file (or the environment variable mentioned) with the new device key. The location varies for each agent, as listed below: ...
    • How to add APM Insight Java agent without application restart?

      In general, after installing the APM Insight Java agent, you have to restart your application for the agent to capture monitoring data. But in case of critical issues in the app, like sudden application slowness, where you haven't installed APM ...
    • How to rename an APM Insight application?

      Site24x7 APM Insight doesn't support renaming applications/monitors from the web client. However, the application name of an existing application instance can be renamed in the apminsight.conf file and the agent associated with that instance will ...
    • Required permissions to auto-add Azure Subscriptions for monitoring in Site24x7

      Follow the steps below to provide the necessary permissions to auto-add Azure Subscriptions under the same tenant for monitoring when they are created or added in the Azure portal. 1. Go to the Azure portal and navigate to Management groups. 2. ...
    • How to identify and resolve conflicts between other APM products and the APM Insight .NET agent

      Problem statement: You are experiencing either of the below issues and suspect that another APM product is interfering with the Site24x7 .NET agent. 1. The .NET monitor is not created under APM > APM Insight > Applications, even after the .NET agent ...