First, use PST Repair tool to recover your corrupted PST file data and then use Office 365 Importer for the safe transfer of data.