The following text was translated using ChatGPT, so there might be some translation errors.
Thank you very much for your advice.
I was using Outlook (new) and couldn’t find the solution. Following your advice, I looked for a resolution and found these steps:
Open Outlook and click on the “File” tab.
Select “Options” and click on “Trust Center”.
Click on the “Trust Center Settings” button and select “Programmatic Access”.
However, I was confused because the Outlook (new) doesn’t have a “File” tab at all. After taking a moment to rethink the situation, I wondered if I was looking at a different version of Outlook than everyone else. When I displayed the help for Outlook (new), I found a tab that said “Switch to classic Outlook,” and when I opened it, I found the “File” tab everyone was talking about.
I also discovered that the account settings are different between Outlook (new) and the classic Outlook.
After adjusting the settings, I was able to resolve the issue successfully.
Your advice was the catalyst for finding the solution, and I am very grateful for it.