Forum Discussion

Chris Gibson's avatar
Chris Gibson
Copper Contributor
Dec 27, 2017

Azure DSC extension fails to installed "ParentResourceNotFound"

I am unable to add VMs as DSC Nodes in my Azure Automation Account.  So I tried to install the dsc extension using the powershell cmdlet "Register-AzureRmAutomationDscNode".  This failed with the err...
  • creadle's avatar
    creadle
    Apr 30, 2020

    Chris Gibson Late to the show, but I figured this out cause I ran into the same issue.  You need to include the -azurevmresourcegroup option on the cmdlet.  It's a bit deceiving cause the cmdlet will run, but without that, it can't actually reference the VM on which to deploy the extension, which is why you get the (very non-informative!) ParentResourceNotFound error.

Resources