Just what I have been looking for, however when I tried and get the below message about user has been placed on legal hold. How do I remove "Legal hold"
What do you want to do with Murray McDonald's licenses, OneDrive files, and email? You can restore deleted users and their data up to 30 days after you delete them.
Product licensesThese licenses are assigned to Murray McDonald.
Office 365 Enterprise E3
This license can't be removed because it is part of an annual subscription. You can assign it to another user later.
Microsoft Flow Free
This license can't be removed. You can assign it to another user later.
OneDrive (optional)
Murray McDonald has been placed on legal hold. Data can't be assigned to other users until the legal hold is removed
Email (optional)
Murray McDonald has been placed on legal hold. Data can't be assigned to other users until the legal hold is removed