While Microsoft may not be as bad on this as Sony so far, they have certainly shown a willingness to revoke access to digital games. For example- in an effort to push users to the newer fifa titles with microtransactions, they quietly removed the ability to redownload purchased digital copies of older fifa games. For anyone who might've temporarily uninstalled the game to free up space, there was suddenly no way to get the game on your machine again.
That's almost certainly due to EA's licensing agreement with FIFA rather than Microsoft's decision. Similar to how you can no longer purchase older Forza games due to the licensing for use of the cars expiring.
But it was bought on Microsoft's Store (a walled garden) on a Microsoft platform, so the ultimate responsibility towards the customer lays on Microsoft.
Also as a part of forcing Minecraft users onto Microsoft accounts they threatened, and carried out deleting everyone's Minecraft and Mojang accounts.
If you refused to comply or happened to take a break from the game during that time, now you have to buy the game again and you lost anything on any multiplayer tied to your old account.