Solved

Kill a live Microsoft Office 365 session

Posted on 2016-08-20
5
261 Views
Last Modified: 2016-10-13
Logged on to Microsoft Office 365 at Starbucks, but forgot to log off and left.  How do I get that session logged off?
0
Comment
Question by:dztdagll
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 41

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 500 total points
ID: 41763584
Generally speaking, you cant, at least not for all services. For SharePoint Online/ODFB, you can use the following cmdlet:

Revoke-SPOUserSession -User baduser@domain.com -Confirm:$false

Open in new window


For the rest of the services, you either need to disable them temporary or simply change your password.
0
 

Author Comment

by:dztdagll
ID: 41763595
Thanks for getting back to me so quickly.  I'm shocked that Microsoft doesn't have a way of doing this given that people often forget to log off!

If i change the password, does that connection disconnect immediately?  if not, how long until it does?
0
 
LVL 41

Accepted Solution

by:
Vasil Michev (MVP) earned 500 total points
ID: 41763606
The reality of modern applications is that access is cached in many forms, both by the server and the client. In the case of O365 the access token you get can live for several hours. Changing password can revoke the token, but it depends on many factors. The default timeouts are listed here: https://support.office.com/en-us/article/Session-timeouts-for-Office-365-37a5c116-5b07-4f70-8333-5b86fd2c3c40
0
 

Author Comment

by:dztdagll
ID: 41763611
I don't know whether you work for Microsoft or not, but this is a big problem.  Users log on to their email from all different kinds of locations.  They cannot be depended on to logoff.   i don't think I'll be moving my users to Office 365 until I can log them off from an admin portal or something....

Very helpful information.  Thank you so much!
0

Featured Post

Office 365 Advanced Training for Admins

Special Offer:  Buy 1 course, get 2nd free!  Buy the 'Managing Office 365 Identities & Requirements' course w/ Accelerated TestPrep, and automatically receive the 'Enabling Office 365 Services' course FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question