i have exchange server 2019 i delete the user from active Directory users but the mailbox is still On the disk I mean, the space saved on the disk shows that the mailbox is still there And I want the mailbox to be deleted from the server, but I think that because I deleted the user before deleting the mailbox, this problem has arisen and I cannot delete this mailbox.
I tried to find this mailbox in the list by following commands but it was not found
Get-Mailbox -ResultSize unlimited
If possible, explain what happens to the mailbox when the user is deleted and what is the correct way to delete the user and the mailbox?