I have a Windows Server 2016 on-premise which is being used to manage devices on a local network. We create and manage users for this local network.
One of our guys has accidentally synced our server with our online Office365 E3 Azure Active Directory. This is a problem because every time we make a new user in the server, it gets synced to office365 and a user is created there also. (we don't want this to happen).
How can I unlink our Windows server with our online office365 ?