question

GerhardK avatar image
0 Votes"
GerhardK asked bharathn-msft edited

ARC resources switching Log analytics workspaces

Having some trouble moving an ARC VM from one log analytics workspace to another. Vm does not show up under VMs on the LAW as the filter auto applies subscription machines only. What can I do other than deleting the ARC machine and redeploying to the new LAW?

azure-arc
· 2
5 |1600 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.

@GerhardK Thank you for reaching out, looking into your scenario . Will get back to you at the earliest.

1 Vote 1 ·

Thanks Bharathn, Looking forward to any feedback.

As a side note: I've also tried deleting the ARC server from the portal and re-adding it. The log analytics agent or (insights agent?) seems to dictate which workspace it connects to. I also can't manage the agent from the Az side as it doesn't show up under extensions for the ARC resource.

0 Votes 0 ·

1 Answer

bharathn-msft avatar image
1 Vote"
bharathn-msft answered bharathn-msft edited

<<Resurfacing the information from comments for broader community usage >>

@GerhardK Apologies for delay in getting back to the thread.

Checking in to see, as part of the initial setup Azure Arc enabled server was connected to Log Analytics via agent or using the VM extensions ?

If its via the agent, have you tried looking into MMA agent on the VM and see if you can remove the existing LA workspace and add a new one.

Please see if above information is helping in your scenario, if not this might need a deeper troubleshooting for your environment. Looking forward to hear from you.

· 2
5 |1600 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.

Thanks!

I deleted the ARC resource Az side and removed the LAW entry configured on the agent.

After I re-ran the on boarding script I got the option Az side to select a new LAW target for the agent.

Thank you for your help!

1 Vote 1 ·

@GerhardK - Glad to hear that the issue is fixed . Thank you

0 Votes 0 ·