I followed this blog http://blogs.msdn.com/b/powershell/archive/2015/05/29/how-to-register-a-node-with-a-dsc-pull-server.aspx to set up the LCM.
Set-DscLocalConfigurationManager and got this error.
The attempt to register Dsc Agent with AgentId B74A405E-153E-11E5-80C0-000C29C23BD5 with the server
http://xxxxx:8080/PSDSCPullServer.svc/Nodes(AgentId=‘B74A405E-153E-11E5-80C0-000C29C23BD5’) returned unexpected response code NotFound.
+ CategoryInfo : InvalidResult: (root/Microsoft/…gurationManager:String) , CimException
+ FullyQualifiedErrorId : RegisterDscAgentUnsuccessful,Microsoft.PowerShell.DesiredStateConfiguration.Commands.RegisterDscAgentCommand
I have RegistrationKeys.txt that contains the GUID. Is it the way it should be?
B74A405E-153E-11E5-80C0-000C29C23BD5 2cfe8756-7d19-46b5-ab98-b59ec0a87259
Another thing is that the metamof actually has
RegistrationKey = “2cfe8756-7d19-46b5-ab98-b59ec0a87259”;
The B74A405E-153E-11E5-80C0-000C29C23BD5 in the error is the existing one on the node.
Thank you!