When a user logs in with their Microsoft account on Windows 10 it will probably knock them off the local network.
Luckily, there is a simple solution. The Group Policy Editor can be set to enforce a local logon. Microsoft e-mail can still be accessed without logging the system into a Microsoft account.