web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Problems starting Outlook
Power Automate
Unanswered

Problems starting Outlook

(0) ShareShare
ReportReport
Posted on by 4

As I've developed multiple cloud flows recurring in a quite frequent manner, which all of them are executing desktop flows to read mailboxes registered in the MS Outlook locally.

 

Process A - recurring every 90 seconds

Process B - recurring every 90 seconds

Process C - recurring every 300 seconds ( 5 minutes )

Process D, E & F - recurring every 600 seconds ( 10 minutes )

 

I am recently facing a problem of flows execution failure of that the MS Outlook couldn't be properly started. My desktop flows were designed to start an Outlook instance, scan the inbox to retrieve emails and store up the attachments then finally closing the instance. With monitoring, I did noticed that sometimes the starting up Outlook would prompt up a window which seems to be asking for login and stuck the application hence making all relevant flows failed to complete. I need to manually re-start the Outlook to resume the operation.

 

KLHOILDMSRPASVC_0-1704360995965.png

 

KLHOILDMSRPASVC_1-1704361150986.png

 

 

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    It seems to use a legacy method for signing in, which is blocked by the Enhanced Security Configuration on the server. If you can manage the server, you can add the required URLs into the Trusted Sites via Internet Options, or disable ESC completely (not recommended). See here for reference: https://learn.microsoft.com/en-us/troubleshoot/developer/browsers/security-privacy/enhanced-security-configuration-faq

     

    No idea why you need to re-login. Might be because of some policy on one or more of your accounts, where you need to confirm login after a while, or after you also login to a different device. Those are security policies created by your IT. You may need to contact them about this.

     

    Also, please note that those frequencies will usually not be possible. It normally takes around 30 seconds to start a desktop flow after a cloud flow initiates it. And then around 30 seconds for a desktop flow to return its status to the cloud flow after it's finished. So, the connection between cloud and desktop will eat up around 60 seconds of each flow run. And if your flow takes at least 30 seconds or more, you won't be able to run flows every 90 seconds, not to mention several flows, unless you have several machines and a machine group to balance the load.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • KLHOILDMSRPASVC Profile Picture
    4 on at

    Thank you on your reply.

     

    Talking about trusted sites, I have actually no idea on what URL should be added after all. Should you have any suggestion?

     

    Besides, regarding on the problems around Outlook, would the re-registration of mail address be a feasible solution?

     

    Finally, understanding the rules on the flows' run frequency, I shall generally rearrange the flow so as to reduce the run.

     

    Thank you!

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Normally, the site that you need to add to the trusted sites is shown in the ESC notification. In the case of the one visible in your screenshot, it's "about:security_OUTLOOK.EXE". This is also considered to be a site and you need to add it to trusted sites. You will then not see this error again, but a new one with a different site may appear. You will need to keep doing the procedure until you finally get through all of those errors.

     

    As to re-registering the account - I honestly don't know. I'm not an IT security policy expert. You might want to talk to your IT and ask them what's causing this.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard