I am trying to register a machine each day and have it join a machine group using PAD.MachineRegistration.Silent.exe it will work a few times on the day the group is created but then fails. Registration of the machine works every time the issue is only with joining the machine group
The command I am trying is
$machineGroupPassword | .\PAD.MachineRegistration.Silent.exe -joinmachinegroup -groupid $machineGroupId -grouppassword -tenantid $tenantid -environmentid $environmentId
I get an error
AuthenticationFailed
Failed to acquire token silently. You can retry with a fallback mechanism. See -help above.
Error code: parsing_wstrust_response_failed. Error message: There was an error parsing WS-Trust response from the endpoint.