Based on the error code, it's a generic error, and is specific to MSI app installations via MDM. It translates to a generic MSI 1603 error. Please click here for more details.
Plus, this KB article introduces the possible causes and resolutions for the 1603 error. You can click the following link to visit it. One of the cause if the app has already been installed on the PC, the error may occur during deploying the app again.
you-receive-an-error-1603-a-fatal-error-occurred-during-installation
On the other hand, instead of using the type of Win32 app deployment, there is a dedicated app type named "Microsoft 365 Apps". You can choose it for deploying Office 365 apps. Please click the following link for more details.
Add Office 365 apps to Windows 10 devices with Microsoft Intune
If the response is helpful, please click "Accept Answer" and upvote it.