Wednesday, 18 May 2016

How to Immediately terminate a Users Sessions in SharePoint Online


With the latest version of SharePoint Online Management Shell a new PowerShell cmdlet called Revoke-SPOUserSession was released. This cmdlet allows us to terminate all sessions established by a particular user to SharePoint online. Terminating user session remotely is pretty handy in situations where a users’s device is lost and you want to protect corporate data from unauthorized access. Revoke-SPOUserSession cmdlet is pretty simple to use and below are the steps for using it

Note: The latest version of SharePoint Online Management Shell is required to execute the Revoke-SPOUSerSession cmdlet.  This can be downloaded form https://www.microsoft.com/en-us/download/details.aspx?id=35588

1.      Run the SharePoint Online Management Shell and connect to SharePoint Online tenant as a global admin.

2.      Execute the Revoke-SPOUserSession cmdlet by passing the name of the user for whom you want to terminate sessions.

E.g. Revoke-SPOUserSession – User username@mycompanysite.com

3.      You would be prompted to confirm the action and once you confirm by giving yes the user session will be terminated from all devices that he has logged on to and a success message will be displayed.

4.      If you don’t want the confirmation prompt you could pass the value of false to Confirm parameter

E.g. Revoke-SPOUserSession – User username@mycompanysite.com – Confirm:$false

Thursday, 28 April 2016

Edge browser now supports Drag and Drop and Export to Excel in SharePoint Document Libraries


When Edge browser was released with Windows 10, it came with few limitations when working with SharePoint. The limitations are listed in the KB article https://support.microsoft.com/en-us/kb/3083635 and the suggested work around was to use Internet Explorer. With the second publish release of Edge Browser that came with November 2015 Windows 10 update (version 25.10586) , Drag and drop of documents and Export to Excel are supported for SharePoint document libraries.