Local agent is unavailable

I am trying to register a new agent but it says the agent is associated with another account and is not switching with the local account. Can somebody help with this?