Wednesday, 9 September 2015

Restore User in Office 365

In this Article, we will cover how to restore a user  using PowerShell in Office 365. 

In order to use the following command lets , the pre-requisite is to Install Windows Azure for Active Directory PowerShell, please refer to Microsoft TechNet Article.

Launch the Windows Azure for Active Directory Shortcut

Connect to Office 365 using the following command , and enter your credentials

Connect-msolservice 

When a user is removed, it goes into Recycle Bin where it's available for 30 days and is recoverable within 30 days from the time of deletion.

Once you are connected, you can use the following command to restore a user

To Get a list of removed users,

Get-MsolUser–returndeletedusers

To Restore a User,

Restore-MsolUser –UserPrincipalName JohnSmith@contoso.com

2 comments:

  1. windows 10 activation status , Genuine Windows 8.1 Standard Product Key , Buy Windows 7 Product Key Online , office professional plus 2010 key , windows server multipoint server 2012 , free windows key for windows 7 , windows 7 pro key , windows 8 buy for windows 7 geniune customer , l88Ak2

    cheap office project 2013 product keys

    buy windows 7 ultimate sp1 product key

    Online Windows 10 Pro Product Key Store

    Windows 7 Home Premium SP1 key code

    buy cheap windows 7 product keys

    ReplyDelete
  2. Great article created by you. I get very useful information while reading your blog. You have done a great work. Super blogging and keep it up.

    ReplyDelete