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 / CMD task not working w...
Power Automate
Unanswered

CMD task not working when triggered from Cloud Flow

(0) ShareShare
ReportReport
Posted on by 2

Hello all

 

So I have experienced that some actions are working perfectly fine when I am debugging and triggering a flow locally on my machine, but when the same flow, on the same computer, is triggered from Cloud Flows, then it works differently. 

 

Anybody else experiencing the same? 

 

The problem in hand is that I want to make sure that all my Firefox windows are closed before continuing, so I have three actions: 

 

1) Open CMD session

2) Run taskkill of firefox.exe

3) Close CMD session

 

This works completely fine when running/triggering locally - it closes firefox without problem. But it completely ignores  it when triggering the samme flow from Cloud Flow. It doesn't fail, it just does not compute the command, meaning that Firefox does not close down. 

 

Yes, I can close Firefox by closing Firefox properly, by clicking Settings > Exit. BUT! Why should I have to? 🙂 Why is the CMD only work when triggered locally?

 

Does anybody has similar experiences and knows why? 

 

Thank you in advance. 

 

Regards, 

 

Maria

Categories:

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 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard