I see this question raised a lot – and there is a simple way to resolve it.

On the agent run the script in Maintenance > Agent > Probe – Remove from an Offline Agent. That’s all that is needed!