I actually wish to get notified on my VM Stop logic app but I am stuck with getting a status when a VM is successfully stopped or failed. I always get only Failed message so I guess I put wrong condition in the flow.
Setup:
Condition
I tried various setups none working.
Below design worked for me:
Firstly, just add outlook action and then a parallel path after Deallocating action :
Then again add send an email option:
In code view in second email action change the run after to failed:
Now the design changes to dotted line:
Leave the first one as Succeeded only.
Output: