Outlook Send eMail Multiple PopUp

Hello,

I know this question has been asked before but yesterday I came across this issue when my company seemed to have updated UiPath and is transferring away from Windows-Legacy projects.

When I was sending an eMail using UiPath, I received the following message: “A program is trying to access e-mail address information stored in Outlook. If this is unexpected, click Deny and verify your antivirus software is up-to-date.”

By using the Parallel activity along with Check App State I was able to have the bot click on “allow” and then it could proceed as intended. The problem now with the new update is that when I create a new bot that will use this same workflow, the Outlook popup pops up 21 times very quickly and the bot does not know what to do.

If I remove the Parallels and Check App State activity so that I manually click on “Allow” the popup occurs 3 times very quickly. If I click the last one then the email will send but I still have to close out the two popups that are behind it on the screen.

Does anyone have any idea why this would be happening?

Thank you

@fmarcin11,

Try adjusting your Outlook security settings to allow specific programs or add-ins to access your email data without triggering the pop-up message.

https://answers.microsoft.com/en-us/outlook_com/forum/all/outlook-popup-a-program-is-trying-to-access-email/5656c0d1-e68b-4f4c-9c26-94274cf64106

Outlook has a security feature that triggers the pop-up when it detects programmatic access (such as automation via UiPath). You can change the settings to stop these prompts, though it might slightly reduce security.

Here’s how to adjust the settings:

  1. Open Outlook.
  2. Go to File > Options.
  3. In the Outlook Options window, select Trust Center from the left menu.
  4. Click on Trust Center Settings.
  5. In the Trust Center, select Programmatic Access.
  6. Choose the option Never warn me about suspicious activity.
    Warning: This will stop the security pop-ups, but it also weakens security. Be sure that you trust the automation process and the source of the code.
  7. Click OK to save the changes and close all dialogs.

This method will stop the Outlook pop-up from appearing when UiPath accesses the email addresses, as long as you have “Never warn” enabled.

Please try this method, please mark as a solution if it’s solve your query.

Unfortunately we are not allowed to make that change in Outlook.

@fmarcin11,

In this case check with your system admin if the Antivirus is up to date on the system.

Here are more details about the issue.

Solutions:

UiPath troubleshoot guide reference:

@fmarcin11

ideally it is a outlook permission issue…programmatic access should be allowed in outlook for you to work

Apart from that if you want to handle it without reaching IT…in same parallel activity use a while loop to check for pop up till it exists and let it click in loop till no pop up is present…basically you would have a while loop and then inside check app state if found click else loop again

cheers