Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Kill a live Microsoft Office 365 session

Posted on 2016-08-20
5
Medium Priority
?
674 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 43

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 2000 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 43

Accepted Solution

by:
Vasil Michev (MVP) earned 2000 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 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Mailbox Overload?
Microsoft Office 365 is a subscriptions based service which includes services like Exchange Online and Skype for business Online. These services integrate with Microsoft's online version of Active Directory called Azure Active Directory.
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

722 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