Hi Андрей Михалевский,
Thank you for posting your question in the Microsoft Q&A forum.
The July 2023 Outlook security updates limit access to UNC, SMB, and file:// type URLs to only those the system identifies as Local, Intranet, or Trusted Sites. After you install the Outlook Desktop July 11th security updates, when you open a link in an email, if the path points to a Fully Qualified Domain Name (FQDN) or IP address, you may not be able to open the link or receive the following error message: Something unexpected went wrong with this URL.
For your reference:
Hyperlinks are not working - Outlook | Microsoft Learn
However, we cannot confirm that if your current issue for Outlook 2024 connection issue is related to these security considerations. Also, there could be many reasons cause outlook prompt password issue. In general, we need to check IIS logs, security logs, MAPI/HTTP or Autodiscover logs from Exchange server side to investigate why auth failure with 401.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.