I was notified of failed flows (timeout, waited for approval > 30 days), however Azure cannot find the flow. See error message below. Within the past 30 days the Flow was moved from 'My Flows' to 'Team Flows', could this be a reason why the flow cannot be foud anymore? Also, is there a way to resubmit the flow?
Request to Azure Resource Manager failed with error: '{"error":{"code":"WorkflowTriggerHistoryNotFound","message":"The workflow '4796d050-3b32-4d83-abe8-3d148b9bcf82' trigger 'When_a_new_response_is_submitted' history '08586679305860403557565903755CU43' could not be found."}}'.
Thanks.
Hi @Anonymous,
It may be that the Flow was moved from 'My Flows' to 'Team Flows' causing issue.
You could recreate a similar flow and move it from 'My Flows' to 'Team Flows' to see if the same error occurred.
As for "a way to resubmit the flow", do you want to resubmit Approval?
If you couldn't find it in Azure, you could find the corresponding Flow in the Microsoft Flow portal, click on the failed Run History, and resubmit.
Please take a try.
Best Regards,
Barry
Hi Barry,
I have the same issue than Miche. I confirm that I tried to move a flow from "My flows" to "Team flows" by exporting it in zip and importing it in "Team flows". The thing it that I don't manage to create a flow directly in "Team flows". It creates it in "My flows" (I'm new to MS Flow, sorry). How should I do instead to avoid getting this failure?
thanks!
I have the same issue. Occurred after changing the name on the trigger item.
Request to Azure Resource Manager failed with error: '{"error":{"code":"WorkflowTriggerHistoryNotFound","message
… and the fix: I went ahead and made a copy of the flow. Don't ask me why, but the copy worked just fine. Would seem as if (based on dates and number of times the issue seems to be expressed) something is needed to fix the problem instead of working around a broken product.
Also consider changing the host reference in your header.
$url = "https://xxx-ff-dd-ss"
$header = @{
"Connection"="keep/alive"
"Accept"="application/json"
"Accept-Encoding"="br,gzip,deflate"
"Host"="get the proper host and put it here"
"Content-Type"="application/json"
}
Try {
$request = Invoke-RestMethod -Uri $url -Method Post -Headers $header -Body $body
} Catch {
if($_.ErrorDetails.Message) {
Write-Host $_.ErrorDetails.Message
} else {
Write-Host $_
}
}
So copy your url from the power automate "when a https is received" and get apply the new host value too (this is what killed me 🙂 )
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
23 | |
13 | |
11 | |
10 | |
8 |
User | Count |
---|---|
33 | |
25 | |
24 | |
17 | |
16 |