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 Automate
Suggested Answer

Bot Struck

(1) ShareShare
ReportReport
Posted on by 20
We are facing an intermittent issue while processing the bot. We have 4 VMs where the bot is running, and it is getting stuck in the middle of the .Run Script action. If we retry the execution, it usually works successfully (sometimes after one or two retries). We have checked the VM resources, including disk space and memory utilization, and everything appears to be normal. . Could there be any known reasons that might cause this behavior?
 
 
I have the same question (0)
  • Suggested answer
    trice602 Profile Picture
    16,465 Super User 2026 Season 2 on at
    Hi there!
     
    Here's what I would check:  I would determine which VMs this hangup is actually occurring on.  If you are running a machine group, maybe this is isolated to a single VM.
     
    Then I think it may come down to one of these 2 root causes:
     
    1- the service needs to be restarted.  Restart PAD services on that machine specifically.
    2- it almost sounds like there's a process waiting for your input, like a hidden prompt OR the file is locked and just sits there waiting.
     
     
    One of the best ways to "track this down" is after key steps, add a step write to log_test.txt and indicate which step you are at in the script.
     
    [%CurrentDateTime%] [%ComputerName%] Starting Run Script
    [%CurrentDateTime%] [%ComputerName%] Process A started
    [%CurrentDateTime%] [%ComputerName%] Process A finished
    etc
    etc
     
    That's going to help you determine the root cause because there's really not enough information provided here to definitively state what the issue is and how to resolve.
     

    ------------------------------------------------        

    💡 If this was helpful, please like and check the box below "Does this answer your question" to help others find this too!          

    Always glad to help! 💯💯💯💯💯         

    Tom   ~  LinkedIn - tomrice.ai

    MICROSOFT CERTIFIED     
      
    AI & Copilot: AB-100 | AB-730 | AB-731 | AI-900
    Power Platform: PL-600 | PL-500 | PL-400 | PL-200 | PL-100 | PL-900
    Fabric, Power BI & Data: DP-700 | DP-600 | PL-300 | DP-900 | MCSA | 70-778 | 70-779
    Dynamics 365: MB-210 | MB-240 | MB-910 | MB-920
    Security: SC-900
    Azure: AZ-900
    Microsoft 365: MS-900
    Excel: 77-728 | 77-888
    Applied Skills: 19

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 312 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 154 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 143 Super User 2026 Season 2

Last 30 days Overall leaderboard