Forum Discussion
Chris Gibson
Dec 27, 2017Copper Contributor
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...
- 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.
Chris Gibson
Jan 03, 2018Copper Contributor
Thanks for the reply, everything is published so I think it must just be a badly formatted command (Spelling of my inputs probably). I have however figured out why I couldn't do this via the console (this was my first issue) so I should be good for what I need now. Once I have it working I can take another look at the ps
just in case your interested, it looks like our firewall is blocking access to some metadata files the extension needs to install properly
creadle
Apr 30, 2020Copper Contributor
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.