Linux VM extension status isn't reported after Azure Linux Agent 2.2.19 update

This article provides a solution to an issue in which the Linux VM extension status is not reported after an Azure Linux Agent update to version 2.2.19.

Original product version:   Virtual Machine running Linux
Original KB number:   4077547

Symptoms

On a Linux virtual machine (VM) that's running on an instance of Microsoft Azure that has Azure Linux Agent 2.2.19 installed, you don't see the extension status being reported by using either the portal or Azure Command-Line Interface (Azure CLI).

Cause

This problem occurs because of a known issue.

Resolution

Microsoft is taking steps to automatically resolve this problem. For VMs that have been automatically resolved, you will see the following additional Microsoft extension installed on the affected VMs:

  • Extension publisher: Microsoft.CPlat.Core
  • Extension type: RunCommandLinux

You can use Azure CLI  to query the extensions that are assigned to a VM. To do this, run the following command:

az vm extension list --vm-name <vmName> -g <resGroupName>

You can also remove this extension by running the following command:

az vm extension delete --vm-name < vmName > -g <resGroupName> --name <extension name>

Note

In these commands, <vmName>, <resGroupName>, and <extension name> represent the actual variable names.

Contact us for help

If you have questions or need help, create a support request, or ask Azure community support. You can also submit product feedback to Azure feedback community.