Solved

How to restore  a mailbox in O365

Posted on 2016-10-19
5
84 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 40

Expert Comment

by:Vasil Michev (MVP)
ID: 41850484
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
ID: 41850753
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 40

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 500 total points
ID: 41850819
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
ID: 41850835
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
ID: 41856728
Tested it and it was succesfull
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This Experts Exchange lesson shows how to use VBA to loop through rows in Excel.  In order to sort, filter, and use database features, there needs to be a value in each column for every row. When data arrives with values missing, code to copy values…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

730 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