How to Add or Remove Microsoft Account on Windows 10?
If your Microsoft account is erased, all data, files, and subscriptions will be lost permanently. If you only have a user account on your PC, don’t worry. All of your cloud-based data, as well as your subscriptions, are secure.
Because you’ve stated that Microsoft doesn’t have authority over Gmail, your Gmail email address will not be deleted. What the system will delete in this instance is the Microsoft account established in the background using the Gmail email address.
To remove your Microsoft Teams account, you must cancel your Office 365 account. As a result, you’ll lose access to all of the Office 365 applications, including Teams.
Deleted users are removed from your Windows 10 system, but all of their data, documents, and other files will be permanently deleted. Before you delete a user, make sure they have a backup of any critical data they want to keep.
You may not access your Microsoft services if you remove the account from the device. This is what happens when you reset your phone. Unlinking your device from your account will prevent it from affecting your Microsoft store hardware restriction and keeping things organized.