Example:
You buy a used minecraft account on ebay (i.e. Email and password).
Can you move there anyway or not?
Second hand accounts are against Minecraft terms and conditions, so don't buy one. You can move normally
Basically, there are no used Minecraft accounts. All of these have been hacked or stolen in some way and are therefore illegally acquired. Only the premium account is valid.
The correct password, the player name and the UUID belong to every email. If one of these is incorrect, you can't log in to Mojang and therefore can't migrate to Microsoft later.
You will also be notified by Mojang by e-mail, if you do not have the e-mail address that was stored, you will not receive an e-mail. In addition, there are security queries, if you don't know them, you can't log in either.
Conclusion: Stay away from such dubious purchases that only cost money and don't bring in anything.