migrated vm sku which leads to problem with installing agent with policy

Bombbe 1,621 Reputation points
2020-03-19T12:47:20.51+00:00

Hi,
we are using Azure build in initiative to install Log Analytics + dependency agent to Windows server ( this one: https://learn.microsoft.com/en-us/azure/azure-monitor/insights/vminsights-enable-at-scale-policy#policies-for-azure-vms)

This works fine with marketplace images because in policy definition there are listed all "allowed" publishers, offers and skus and then it compares it with vms. Those information can be found in vm page -> export template -> image reference and based on those and comparing, policy will install agents to vms. But now we are using Azure migrate and when migrates creates servers, Portal shows source as "disk" without any information about publishers, offers and skus which leads to that vm created by Azure migrate/disk are not getting Log Analytics + Dependency agent from that initiative automatically.

Any tips how I could find publishers, offers and skus from disk image or how to change policy definition so that it would count and install agents to vms created by disks?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,561 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. jakaruna-MSFT 596 Reputation points Microsoft Employee
    2020-03-24T14:58:51.103+00:00

    If your issue is not resolved till now, Please send your subscription id to this email azcommunity@microsoft.com.

    I will help you to enable a one time free support ticket for you.

    In the email subject add "for jakaruna-msft <this questions title>" and add this questions url in the email body.

    Once your issue is resolved, you can post the answer here.

    0 comments No comments