cmdlet to know who deleted user mailbox

Welcome Forums General PowerShell Q&A cmdlet to know who deleted user mailbox

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
2 years, 6 months ago.

  • Author
    Posts
  • #42091

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

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

    Remove-Mailbox -Identity $identity

    Technet Doc

  • #42333

    Participant
    Points: 0
    Rank: Member

    Hey,

    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.

The topic ‘cmdlet to know who deleted user mailbox’ is closed to new replies.