?
Solved

How to restore  a mailbox in O365

Posted on 2016-10-19
5
Medium Priority
?
176 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 42

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 42

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Enabling the Skype for Business Meeting Scheduler in Hybrid OWA
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
how to add IIS SMTP to handle application/Scanner relays into office 365.
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…
Suggested Courses

764 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