Hi @Paul Siso
Thanks for reaching out to the Microsoft Q&A forum.
Based on your description, I understand that you're attempting to re-install Exchange Server 2016, but the process is incomplete due to two errors: Error 1: Couldn't find database and error 2: Database is mandatory on UserMailbox
As a forum moderator, I don’t have access to a dedicated testing environment to replicate user-specific scenarios. That said, my response is primarily based on official Microsoft documentation, and I’m happy to share what I’ve found that may help provide more context and guidance.
From my research, if the error 'Database is mandatory on UserMailbox' appears (Error 2), it is highly likely to persist even if you attempt to resolve 'Couldn't find database' (Error 1) by using Remove-MailboxDatabase to delete the database.
This is because the underlying issue often involves user mailboxes that still reference a missing or null homeMDB attribute. To resolve this, you can use the following PowerShell command to identify accounts with an empty homeMDB attribute:
Get-ADUser -Filter -Properties | where{$.legacyExchangeDN -ne $null -AND $.homeMDB -eq $null} | ft Name
Once identified, you can update the homeMDB attribute to a valid value (i.e., not null). After that, you should be able to delete the account, which helps resolve the issue.
For more context, you can refer to this article where another member encountered the same issue: [exchange 2016] Database is mandatory on usermailbox. - Microsoft Q&A
I sincerely hope this information partially clarifies your situation and assists you in planning your solution. Please do not hesitate to reply if you have any updates.
Thank you for your understanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.