Switching license from an older account to a new one

I have a new microsoft account and I want to play the game but both AOE and AOE II licenses are associated to an older Ms account.
How can I continue to play the game when logged in to the new account?

Hi @FerYP, If you are talking about the Microsoft Store version the license is tied to your account. As far as I know there is no way to move licenses from one account to another.