Solved

Office 365 Terminated/ReHired Employee Mess

Posted on 2016-10-13
2
85 Views
Last Modified: 2016-10-18
I'm currently working with a company where AD really hasn't been taken care of. No policy on deleting terminated users etc... simply disable the AD account and leave the mailbox there which continues to receive email. :sigh:

So now that users are migrated to Office 365, the dilemma is that an employee was terminated, then later rehired back. So the AD account was enabled and a new mailbox created so now I have a DirSynced old mailbox for the user in O365 which is getting the email, but the user cant receive it because his new mailbox, same email address, is on premises... Is there a way to force a mailbox deletion in the cloud so I can then migrate the 'new' mailbox to O365?
0
Comment
Question by:Christian Hans
[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
2 Comments
 
LVL 41

Assisted Solution

by:Vasil Michev (MVP)
Vasil Michev (MVP) earned 250 total points
ID: 41842490
Remove the Exchange license for the cloud user and use the Disable-Mailbox cmdlet with the -PermanentlyDisable switch to purge the cloud mailbox. Of course, make sure to backup any important data first.
0
 
LVL 5

Accepted Solution

by:
Addy Nadia earned 250 total points
ID: 41842538
To hard delete the synced user, we need to perform the following cmdlets using Azure PowerShell.
remove-MsolUser -UserPrincipalName TestUser
remove-MsolUser -UserPrincipalName TestUser –RemoveFromRecycleBin
0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

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

This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
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…

710 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