Solved

How to restore  a mailbox in O365

Posted on 2016-10-19
5
18 Views
Last Modified: 2016-10-24
I had a mailbox used as Voice mailbox in O365. Is no longer there. But if you do Get-Mailbox -SoftDeletedMailbox then it will show the mailbox with this data:
Name                      Alias                ServerName       ProhibitSendQuota

I need to restore this mailbox and can;t see the GUID for it.

Thanks,
0
Comment
Question by:Ernesto Gallardo
  • 3
  • 2
5 Comments
 
LVL 38

Expert Comment

by:Vasil Michev (MVP)
Comment Utility
How did you delete the mailbox? In general, if it's visible in the soft-deleted container, you should be able to recover it immediately by recovering/licensing the user or using the Undo-SoftDeletedMailbox  cmdlet.. If something happened with the user object, you will have to use the New-MailboxRestoreRequest  cmdlet instead. Details are here: https://technet.microsoft.com/en-us/library/dn186233(v=exchg.150).aspx
0
 

Author Comment

by:Ernesto Gallardo
Comment Utility
I don't know how it got deleted.  If I do the undo , it gives the following error:
Undo- : The term 'Undo-' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At line:1 char:1
+ Undo- SoftDeletedMailbox ace-pbg@barry.edu -WindowsLiveID ace-pbg@bar ...
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (Undo-:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

I'm on a Hybrid scenario, so
when I do :
Get-Mailbox -SoftDeletedMailbox

I get:
Name                                      Alias                   ServerName                  ProhibitSendQuota
----                                           -----                      ----------                               -----------------
ACE - PBG Voice Mailbox   ace-pbg              bn6pr07mb2771          49.5 GB (53,150,220,288 bytes)

Then According to that link I should do:

New-MailboxRestoreRequest -SourceMailbox <GUID from above step> -TargetMailbox <GUID from >
 I don't see the "GUID"
So I can't continue from here....
0
 
LVL 38

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 500 total points
Comment Utility
You have a space after Undo-, should be a single word (Undo-SoftDeletedMailbox) there.

To get the GUID, use this:

Get-Mailbox -SoftDeletedMailbox | fl Name,Alias,ExchangeGuid

Open in new window

0
 

Accepted Solution

by:
Ernesto Gallardo earned 0 total points
Comment Utility
Hi Vasil ,
Thanks, I didn't noticed that, anyway I used the solution given in this URL:
http://social.technet.microsoft.com/wiki/contents/articles/32984.recover-soft-deleted-mailbox-in-exchange-online.aspx
But yours should be good too.
THank you!!!
I'll see you in my next one....
0
 

Author Closing Comment

by:Ernesto Gallardo
Comment Utility
Tested it and it was succesfull
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

728 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now