BUG in Azure Machine Configuration assignment for ARC machines
Andrew
31
Reputation points
When trying to assign Machine Configuration in the ARC machine portal GUI it always fails with a ResourceNotFound error.
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.
I think this is the problem, because if I manually customize the JSON template to look like this
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.