Using Classic Outlook on Windows for personal email, calendar, and contact management
Ivan,
Here is the Known Issue article in case it can help, Outlook blocks opening FQDN and IP address hyperlinks after installing protections for Microsoft Outlook Security Feature Bypass Vulnerability released July 11, 2023 - Microsoft Support.
If you add the sites to Trusted Sites it will mitigate the error below:
However, even after adding to Trusted Sites the confirmation prompt will still occur and this is expected: