BUG in Azure Machine Configuration assignment for ARC machines

Andrew 31 Reputation points
2024-06-19T07:56:28.2566667+00:00

When trying to assign Machine Configuration in the ARC machine portal GUI it always fails with a ResourceNotFound error.

User's image

I guess it is because, when creating Machine Configuration, it always uses Microsoft.Compute/virtualMachines instead of Microsoft.HybridCompute/machines in the JSON template type key.

User's image

I think this is the problem, because if I manually customize the JSON template to look like this

User's image

And deploy it as a custom template, it works and policy gets assigned to the device.

Same goes when creating such assignment via "Guest Assignment" portal.

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
364 questions
{count} votes