Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hi Olga,
If there was a previous version of Office installed on your Mac, that needs to be totally uninstalled first before installing Microsoft 365.
https://support.microsoft.com/en-us/office/lifecycle/officeinstall/uninstall-office-for-mac
Then, did you download the Office installer from your Microsoft account on this link?
https://account.microsoft.com/services/
If that process is not successful, at the top left of your Mac desktop, click the Apple icon and select 'About this Mac', what version of MacOS is installed on your computer?