cmdlet to know who deleted user mailbox

This topic contains 2 replies, has 2 voices, and was last updated by  Priyanka kathuria 2 years ago.

  • Author
  • #42091

    Priyanka kathuria

    Can you someone pls tell me the power shell command to know who deleted the user mailboxes in Office 365 ? somehow i can't figure this out.

  • #42331


    You should be able to create a session to Office365, then use:

    Remove-Mailbox -Identity $identity

    Technet Doc

  • #42333

    Priyanka kathuria


    Thank you so much for responding!

    I do not want to remove the mailbox.I wants to know who has disabled/Deleted the Mailbox. In other words, Admin name who has disabled/Deleted the user mailbox.I have few admin's in my team and we all disable/delete the accounts however i am trying to pull out a report to know who has deleted/disabled how many accounts.

    I would really appreciate if you can help.

You must be logged in to reply to this topic.