Answer
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.
How to close your Microsoft Account
How to Delete Your Microsoft Account Permanently
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.
What will close is the Microsoft account, created using your Gmail email address in the background.
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.