Disconnect Devices

You can connect your device to your Microsoft work or school account to log on automatically to Microsoft apps and web sites. Please disconnect your devices from your Microsoft account if you stop using your Microsoft accont or you leave the Microsoft 365 organization.

Open your account settings (Windows start menu → Settings → Accounts → Access work or school) and disconnect unused accounts.

Disconnect Device
 

This error message is a hint for an invalid Microsoft account:

Work or school account problem