question

bombbe avatar image
0 Votes"
bombbe asked ·

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

Hi,
we are using Azure build in initiative to install Log Analytics + dependency agent to Windows server ( this one: https://docs.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
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

jakaruna-MSFT avatar image
0 Votes"
jakaruna-MSFT answered ·

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.

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.