The Xbox app has a setting that allows you to change the install location of the game. To do so, press on your profile picture in the top right corner and click Manage Game Settings. Next, click Location and choose where you want to store all your games data files: