Trying to get a couple of clients to pull configs from a pull server, and whenever I change it from using a configuration ID to using a config name with registration key, I get this error:
Error Message: Registration of the Dsc Agent with the server https://PSDSCPullServerCert:8080/PSDSCPullServer.svc failed. The underlying error is: The attempt to register Dsc Agent with AgentId 478DDCD3-DBC9-11E5-80FD-0050569E1347 with the server https://psdscpullservercert:8080/PSDSCPullServer.svc/Nodes(AgentId=‘478DDCD3-DBC9-11E5-80FD-0050569E1347’) returned unexpected response code Unauthorized. .
Message ID: RegisterDscAgentUnsuccessful,Microsoft.PowerShell.DesiredStateConfiguration.Commands.RegisterDscAgentCommand
Error Category: 8
Error Code: 1
Error Type: MI
I’m not really sure how to troubleshoot any further. I tried grabbing the xDSCDiagnostics module, but that didn’t really tell me anything different. I did notice that the error is the same if I purposefully mess up the registration key guid in the config. I couldn’t see any matching log files on the pull server side, but I did grab a netmon capture just to make sure it’s actually getting the traffic.
Any ideas where to go from here? I should note that the server I’m using was a pull server with version 4, and my general screw-around-with-stuff box, so it might be time to just whack it and start fresh.