Forum Discussion
ShreyasGupta
Jun 12, 2024Copper Contributor
How to fetch Soft Deleted mailboxes with are NOT Inactive?
I'm trying to connect Soft Deleted mailboxes using EWS Managed API and observed following behaviour when deleted: Has M365 retention policy applied pre deletion -> Removed M365 user account -> Mail...
- Jun 14, 2024There are some indirect mentions here: https://learn.microsoft.com/en-us/purview/ediscovery-content-search-reference#searching-disconnected-or-de-licensed-mailboxes
ShreyasGupta
Jun 13, 2024Copper Contributor
Yes, I fetch soft deleted mailbox using the same PowerShell command. But after that I use Exchange Web Services(EWS) Managed API to fetch root folder using ExchangeService object with autodiscovery url and mailbox impersonation.
I'm able to retrieve data with above mechanism for soft deleted mailboxes marked as Inactive. But same doesn't work for soft deleted but NOT inactive mailboxes.
I'm able to retrieve data with above mechanism for soft deleted mailboxes marked as Inactive. But same doesn't work for soft deleted but NOT inactive mailboxes.
VasilMichev
Jun 13, 2024MVP
I believe such mailboxes are not available via any client/API method, even eDiscovery.
- ShreyasGuptaJun 13, 2024Copper ContributorI think so too. Is there any documentation from Microsoft confirming on this?
- VasilMichevJun 14, 2024MVPThere are some indirect mentions here: https://learn.microsoft.com/en-us/purview/ediscovery-content-search-reference#searching-disconnected-or-de-licensed-mailboxes
- ShreyasGuptaJun 14, 2024Copper ContributorI had one additional question in my initial query. I'm wondering if you could help me with that too.
PowerShell 'Get-Mailbox' property RecipientSoftDeletedStatus has value '1' for mailbox where IsInactivemailbox is False and '9' where IsInactivemailbox is True. What does RecipientSoftDeletedStatus values indicate?