Azure arc machine configuration deployment error

Anupam Kumar 0 Reputation points Microsoft Employee
2024-03-06T09:15:36.6433333+00:00

Hello

I am attempting to deploy sample machine configuration for an Azure arc machine resource following the steps mentioned in https://learn.microsoft.com/en-us/azure/governance/machine-configuration/how-to/develop-custom-package/overview except for signing the package. I have uploaded the package to a storage account, when I try to create a custom configuration for the machine, I get error:

The Resource 'Microsoft.Compute/virtualMachines/ARC_MACHINE_NAME' under resource group 'my resource group' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix 

The machine is connected with OS Windows Server 2022 Datacenter. This implies agent is running ok and the configuration can be deployed via the connection. Could you please help explain what this error is indicating and how can I resolve it?

Thanks.

Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
799 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 12,320 Reputation points MVP
    2024-03-06T09:25:19.09+00:00

    Follow the suggestions in https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/error-not-found?tabs=bicep That's the URL referenced in the error message


    hth

    Marcin