Hi!
Welcome to Microsoft Q&A forum.
You’ve run into a license mismatch + hardware change problem. To make things easier, can you help me identify the first license that you have, is it a pre-installed one on your computer when you bought it or you bought it separately from a store(retail - bought from store)?
If it came pre-installed, that license is not transferable(tied to motherboard). Only the retail can be transferred.
Let me know so I can assist you further if it's a retail.