Solved

Office 365 Terminated/ReHired Employee Mess

Posted on 2016-10-13
2
77 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 40

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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Save Exchange PowerShell Command 12 31
exchange 2007 5 36
Removing License from a Shared Mailbox 2 18
exchange , office 365 2 11
Read this checklist to learn more about the 15 things you should never include in an email signature.
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

740 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