No one has responded to this discussion for at least a year, so this information may be out of date. If you're looking for information about this topic, please search for a more recent discussion or post a new question.

Delete user mailbox without deleting user

We have ran a trial migration to office 365 this put some emails in all users mailboxes including their folder hierarchy. The folders are fine but I want to delete all the emails from the account before performing the full migration.

I have tried to delete the users outlook licenses and then give it back but the users emails were still present.

I don't want to recreate all user accounts because we have spent a LONG time manually recreating our distribution lists and other user account information.

Based on your description, I understand that you want to only migrate users' mailbox to Office 365 but no any emails of users, you may want to purge users mailbox before the migration. If I misunderstand the issue, please feel free to let me know.

If you only want to migrate the user's mailbox to Office 365 but without any emails, we can achieve this by importing users with a CSV file, for more detailed information, please refer the link below:

Ya you missed the point a bit. Let me clarify and share what office365 support suggested.

So we have already imported the users from CSV and using MigrationWiz we have done a test migration to make sure that our connectors where setup correctly they were and a handful of emails were moved over from our old server to the new users. My manager does not want these old emails to be present when we migrate. So I need to clear out the mailbox without deleting the users.

I don't want to delete users because of the data and setting that have been given to the users will be erased.

Support told me to remove the exchange licenses and then give it back. This is supposed to remove the mailbox with keeping user settings.

This hasn't worked as planned though. I have only competed two tests.

First test after deleting the license and waiting a while to put it back the data was still in the mailbox.

Test two:

After the same first steps the account was unable to sign into outlook in portal. After some powershell commands we determined that the mailbox creation date was the same as the original. It was supposed to be rest and have a date of today.

I have an official support ticket in and will post here with what comes from it.

If you have any suggestions please let me know.

Thanks for the feedback.

You have posted to a forum that requires a moderator to approve posts before they are publicly available.

What is the reason to delete the old emails before the full migration with MigrationWiz? If you are using Migration for the full migration after the trial, they will not duplicate any emails if you are using the same connector.

Thanks for the feedback.

You have posted to a forum that requires a moderator to approve posts before they are publicly available.

I am aware of that. But my director does not like the idea of having the mail have to be managed twice by the our employees. Once on the current account and again after the migration.

It isn't a deal breaker style problem but the fact that Microsoft supports suggestions aren't working the way they expected is frustrating. And mostly I just want to figure out how to solve the problem.

Thanks,

Thanks for the feedback.

You have posted to a forum that requires a moderator to approve posts before they are publicly available.

"In Microsoft Office 365, deleting a mailbox has no effect on the user ID. The Microsoft Online Services ID that's associated with the mailbox is retained. See Delete a mailbox in the Exchange Control Panel in Office 365."

I'd do it on a test user first to see if it has the desired effect!

Thanks for the feedback.

You have posted to a forum that requires a moderator to approve posts before they are publicly available.

Ya I actually did that on my own account because I read that it was safe. This lead to an embarrassing case were it actually deleted my account completely and I need another Admin to recreate my account.

I am at a lose right now so I will give it a shot again on a different account this time though.

Thanks,

Thanks for the feedback.

You have posted to a forum that requires a moderator to approve posts before they are publicly available.

In addition, it seems that you have already
submit a Service Request, would you please provide your
SR number with private message for me? Therefore, I will help you to monitor
this case? To request the SR number, I have sent a private message with a
subject of <Delete user mailbox without deleting user> to you.

To access
the private message:

-Go to
the Your details section on the right side of the community site.

-Click
Private messages.

-Click
the subject title of the response to read the message

Thanks,
Jolin Qiao

Thanks for the feedback.

You have posted to a forum that requires a moderator to approve posts before they are publicly available.

I have put myself on the Discovery Management Role and search-mailbox doesn't seem to be working still.

Also I used the Start-MangedFolderAssistant manually for my test email addresses but when I try to pipe get-mailbox into it I get errors thrown.

"The input object cannot be bound to any parameters for the command either because the command does not take pipline input or the input and its properties do not match any of the parameters that take pipeline input."

Seems like the syntax is incorrect. Not sure if this needs something like "get-mailbox | Start-ManagedFolderAssistant -identitiy $x" or something to tell the pipe where to put info. Again new to powershell.

Thanks,

Thanks for the feedback.

You have posted to a forum that requires a moderator to approve posts before they are publicly available.