It scans the whole data and compares both the Exchange Server mailbox and OST file and while this comparison if there is any mismatch then it will be fixed

Can you repeat this sentence, but add in punctuation?
It scans the whole data and compares both the Exchange Server mailbox and OST file, and while this comparison if there is any mismatch then it will be fixed.