[O365] Disconnect users from services

OK, so supposedly, one of your users lost his device and you want to ensure he is disconnected from the services before changing any password.

So, here is a way to do it:

  • You can try the below command to disable the function of the user mail features by PowerShell for a single user.

Of course you can change the session time for all the users in your organization with the command below:

And to invalidate a particular users’ O365 sessions across all their devices

Hope this gives you some ideas 🙂