Saturday, October 8, 2016

How to Restore Objects from Azure Recycle Bin

Source -

Azure Recycle Bin – We are all familiar with AD restore and Recycle Bin functionalities.  Azure also has a recycle bin.  When you deleted an object, that object is not permanently deleted. By default, that object will be in a recycle bin for 30 days.

The output of Get-MsolUser -ReturnDeletedUsers PowerShell cmdlet will provide all the objects from Recycle Bin.  Once you have this information, you can either restore an individual object or restore all object using Restore-MsolUser PowerShell cmdlet.

The following section provide step-by-step instruction of restoring an object from Azure Recycle Bin:

  1. Open PowerShell window
  2. Import Azure Active Directory Module for Windows PowerShell
  3. Import MSOnline module
  4. Logging into your Azure Tenant using Connect-MsolService cmdlet

  1. Run Get-MsolUser -ReturnDeletedUsers to display all the objects in Recycle Bin

  1. Based on the object result, we have 5 objects in the Recycle Bin. 
  2. You can use Restore-MsolUser -UserPricipleName .,UPN> cmdlet to restore an individual object as shown below:

  1. Or you can restore all objects from Recycle Bin using Get-MsolUser -ReturnDeletedUsers | Restore-MsolUser cmdlet.

PowerShell cmdlet reference:

  1. Get-MsolUser -
  2. Restore-MsolUser -

Read more at Source -


Thanks for sharing this, I actually appreciate you taking the time to share with everybody.
Data Science Institutes In Hyderabad

Thanks for posting the best information and the blog is very informative.Data science course in Faridabad

Great Article Cloud Computing Projects

Networking Projects

Final Year Projects for CSE

JavaScript Training in Chennai

JavaScript Training in Chennai

The Angular Training covers a wide range of topics including Components, Angular Directives, Angular Services, Pipes, security fundamentals, Routing, and Angular programmability. The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training

I truly like your composing style, incredible data, thank you for posting.

Digital Marketing Course

Thanks for posting the best information and the blog is very science institutes in hyderabad

I am glad to discover this page. I have to thank you for the time I spent on this especially great reading !! I really liked each part and also bookmarked you for new information on your site.
Data Science Course Syllabus

Terrific post thoroughly enjoyed reading the blog and more over found to be the tremendous one. In fact, educating the participants with it's amazing content. Hope you share the similar content consecutively.

data science course in varanasi

We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work
digital marketing courses in hyderabad with placement

I was just examining through the web looking for certain information and ran over your blog.It shows how well you understand this subject. Bookmarked this page, will return for extra. data science course in vadodara

Extremely overall quite fascinating post. I was searching for this sort of data and delighted in perusing this one. Continue posting. A debt of gratitude is in order for sharing. data analytics course in delhi

Thanks for posting the best information and the blog is very science course in Lucknow

Post a Comment

Popular Posts


Twitter Delicious Facebook Digg Stumbleupon Favorites More