If you have a Steam account, you can also purchase and add Age of Empires: Definitive Edition to your library on Steam.
Note that unlocking the game on Steam does not automatically unlock the game in the Microsoft Store, though both games will be able to play cross-platform without issue.