I have mentioned some methods that can solve your problem:
Method 1: Fix Mailbox
To Fix corruption in Mailbox, you can use "New MailboxRepairRequest” command. And the command to be followed is:
"New-MailboxRepairRequest -Mailbox firstname.lastname@example.org -CorruptionType FolderView"
Method 2: To recover Database use below Command:
Ese.exe utility Path: C:\program files\exchngsrvr\bin\eseuitl.exe
Now open the Eseutil and Command, it will show the status of EDB file: Dirty shutdown or Clean shutdown.
C:\program files\exchngsrvr\bin>eseutil /mh EDBfile.edb
If the status is Dirty Shutdown, then, execute the following command
eseutil/r enn/L[path to log files] /s[path tocheckpoint file] /d [path to database file] /i
After the above command successfully completes, your corrupted files have been recovered.
Method 3: Export Recovered Database to Outlook
You can run the below command to export the recovered EDB file data into PST File format so that you can view it in the Outlook Application
New-MailboxExportRequest -Mailbox [Mailbox name] -FilePath [Mailbox path]