In exceptional cases, it may be that your download via the Edge browser fails and you receive the following message:
The cause of this notification is Microsoft Smartscreen. This security mechanism warns in Windows 10 of unknown software that may be unsafe according to Microsoft. We explain what SmartScreen does, how to enable it and what to do with SmartScreen warnings.
The file you download is an image of a virtual DVD, and on this DVD is the Office installation file. Smartscreen cannot read this image, but says quite correctly that this image may contain executable files (in this case, the Office installation file). That is why the message "CAN be harmful" and not "IS harmful".
As you can see, this download is directly from the Microsoft servers and over a secure connection, so you should not worry about that.
The colleagues at free software have provided a detailed explanation of this on their website and also described with clear instructions how you can adjust it so that the download can continue.
https://www.gratissoftwaresite.nl/tips-hulp-hoe-werkt-microsoft-defender-smartscreen-windows-10-bescherming-downloads-sites
The App you are trying to install has not been verified by Microsoft.
This window is displayed to prompt (or even require) the user to install only Microsoft-verified apps through the Store. You can simply turn this off by adjusting the recommendation settings. Our colleagues at schoonepc.co.uk have written a simple guide and explanation for this : Q&A: Not Microsoft-verified apps (schoonepc.co.uk)
You cannot install because your version of Windows 10 or 11 is version 10S or 11S (note the S). This version of Windows also only allows you to install applications from the Microsoft Store. You can simply turn off this S version by following Microsoft's instructions : Turning off S mode in Windows - Microsoft Support