Question: how to transfer games from xbox one accounts?
Answer: On your console, sign in to Xbox Live using the gamertag that you used to purchase the content.
Go to the Settings and then select Account.
Go to Your Billing Options, and then select Licence Transfer.
Follow the on-screen instructions to transfer the content licences.