I have an event grid which publishes a lot of events, and a logic app which needs to consume some of them. These events aren't guaranteed to be in order, and events which require another event to be processed first, might end up in the logic app prematurely, causing them to fail.
From the documentation, I can see that event grid supports a retry policy, with an increasing time interval. This would solve my problem.
However, it seems like the logic app in question, always acknowledges events from the event grid, even though the process is stopped early with the Terminate action in the failure state and with an error code.
From the logic app overview, the runs are shown as failed. But the event grid never attempts a retry, and seems to consider the events successful. What can I do to make the event grid retry failed logic app runs?
How to retry sending events from Azure Event Grid to Logic Apps
1.3k views Asked by Mikkel Olsen At
2
There are 2 answers
0
MeDeveloper
On
Event Grid will retry depending on how you terminate your Logic App. If you terminate using http response action (status code 500) then event grid will attempt retries.
Now, depending on what is going on in your Logic app, handle the failures in a way that it terminates on http response action with status code 500.
Related Questions in AZURE
- How to update to the latest external Git in Azure Web App?
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Inject AsyncCollector into a service
- mutual tls authentication between app service and function app
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Application settings for production deployment slot in Azure App Services
- Encountered an error (ServiceUnavailable) from host runtime on Azure Function App
- Implementing Incremental consent when using both application and delegated permissions
- Invalid format for email address in WordPress on Azure app service
- Producer Batching Service Bus Vs Kafka
- Integrating Angular External IP with ClusterIP of .NET microservices on AKS
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Azure Batch for Excel VBA
- How to authenticate only Local and Guest users in Azure AD B2C and add custom claims in token?
- Azure Scale Sets and Parallel Jobs
Related Questions in EVENTS
- Stop propagation of javasript/leaflet click event that starts in one element and ends in another
- Detecting click inside and outside of the listening component in Angular
- How to use mocha unit test chokidar watch events
- writing event_management in unity
- Where to put event handler method of an inherited class in C++ Builder?
- Event_date reference in CTE
- WinForms, event unable to subscribe from a custom class
- How to intercept a request made by a form submit in JavaScript?
- Communicating from Parent to Child in Blazor
- How to Customize Sitecore Copy operation
- grand parent is handling custom event emitted instead of parent in Angular 17
- jquery not capturing all input value changes
- Is there a way to force the focus on a determined window tab?
- How to watch user browsing activity from a background service?
- Trigger Once in React native
Related Questions in AZURE-LOGIC-APPS
- Logic Apps and long running Azure Function (Powershell)
- logiapp teams api connection terraform user sign in
- Logic App Function App reading and writing Binary Files
- String to Array via expressions
- How to set up the link for the paginated files in the Get Rows(V2) Logic App connector and pass it via Azure API call?
- How to prevent o365 API connection from becoming invalidated from expired access token when using azure logic apps send email action
- Logic App to check the Azure blob container for new files and send email notification
- Logic app to list the subscriptions under my management group and list them one per row, with tag values as columns
- How to read agent application data to azure sql using apim and logic apps
- Liquid Template - How to map JSON object as a string to output field
- Automate file uploading from Sharepoint to Azure Storage Container
- Enabling minimum apiVersion to 2021-08-01 in Azure API Management causing saving issues or deployment errors for existing logic apps
- Logic app blob trigger retry policy not working for 503 error
- Logic Apps: selecting the first element of an array
- How to extract all the Document Libraries and Page libraries from a SharePoint site with logic App
Related Questions in AZURE-EVENTGRID
- After Azure Logic app deployment no event subscription is created on storage account
- Azure event grid output binding using managed identity python v2, i keep getting 'EventGridAttribute.TopicEndpointUri'
- Using microsoft azure eventgrid trigger output binding, how to support cloudEvent Schema 01
- using python v2 azure event grid output binding and keeps complaining about function.json
- Python V2 event grid output doesn't show on azure portal, while just triggers show (using microsoft code and not seeing any errors)
- Custom parameters addition to mail sent Azure Communication Services
- What is the media ID thrown from the communication service advanced messaging to the event grid?
- Azure Data Manager for Agriculture - Sensor Telemetry Data
- How to receive customised JSON as request payload in Hasura REST endpoint?
- Azure defender for cloud malware scanning event grid topic with private endpoint doesn't work
- What is the TTL for events in Azure Event Grid with Pull model?
- Is there a way to post from Azure Event grid to Azure DevOps incoming webhook
- Prevent Azure function from recursive execution
- How to subscribe to azure event grid with mosquitto_sub and certificate
- Azure Event Hub listening to blob changes
Related Questions in RETRYPOLICY
- Logic app blob trigger retry policy not working for 503 error
- How to retry 5 times with intervals of 1, 5, 10, 30, 60 seconds using Spring Retry in Java
- How to log retry counts when using Azure SDK retry policy
- Multiple Retries Happening in Kafka
- Azure Event Hub - How to achieve infinite retry?
- Event Hub - retry policy to continue retry forever
- Apache Camel retry delivery attempt log issue
- AWS - Lambda invocation from Message/Notif/Event with exponential retry and ~1 day delay support between retries
- Should non-idempotent operations be called with a retry policy?
- How to use exponential back-off logic in Azure device client?
- Are non-idempotent SQL write operations affected by retry policies?
- Retry pattern with configurable handling parameters for exceptions in .NET
- A ChangeNotifierProxyProvider was used after being disposed
- How to implement Retry logic in RabbitMQ?
- How can i use Retry pattern in Azure functions?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
It seems that once the
Azure logic appis triggered, the event in theAzure event gridis considered to be processed.I think you can configure retry policy at the step where your
Azure logic appfailed, please refer to Retry policies.Take the example of
Httpaction:You can click
···in the upper right corner of theHttpaction, then clickSettings, and select the type you want underRetry Policy: