Answer
When you close a Microsoft account, you won’t be able to log inwith it and sign in to Microsoft products like your Xbox Live. It also deletes all the services associated with that account, including OneDrive data and Gamertag.
How to close your Microsoft Account
How to Delete Your Microsoft Account Permanently
What happens when you delete your Microsoft account?When you close a Microsoft account, you won’t be able to log in with it and sign in to Microsoft products like your Xbox Live. It also deletes all the services associated with that account, including OneDrive data and Gamertag.
Will deleting my Microsoft account delete my Gmail?What will close is the Microsoft account, created using your Gmail email address in the background.
Does deleting Microsoft account delete data?Deleting your Microsoft account entirely will result in permanent data loss, but if you delete your username from a computer only the information that is saved on that specific device will be lost. Any files and subscriptions that are stored online should not be affected by this action.