How to Remove Unknown Devices from Your Microsoft Account (and Lock Out Whoever Added Them)
To remove an unknown device, sign in at account.microsoft.com/devices, open the device and choose Remove device. But removing it doesn't sign it out. If you don't recognise it, also change your password, sign out everywhere and turn on two-step verification.