web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Disaster management Azure logic app | APIM

(0) ShareShare
ReportReport
Posted on by 675

Hi Folk,

I want some information about the Logic App's Disaster Management.

We have implemented logic app for a client and Once their business was affected due to Azure Region down. Now they wanted the logic app should be deployed on different region.

I found some discussion (link) in stackoverflow about APIM and deployed two logic apps in different region.

example:
LogicApp_UKSouth
LogicApp_UKWest

then we configured APIM and implement policies to redirect the request if one logic app is down.

We tested to disable the one logic app and trigger manually request from APIM .It is which is working fine and automatically move to another logic app.

<policies>
<inbound>
<base />
<set-backend-service id="apim-generated-policy" backend-id="LogicApp_UKSouth_personaldevenvoirmen_e327bdd19e8e463cbe500df8616afd1b" />
</inbound>
<backend>
<base />
</backend>
<outbound>
<base />
<choose>
<when condition="@(context.Response.StatusCode != 202)">
<send-request mode="new" response-variable-name="selectionChange" ignore-error="true">
<set-url>testapimangament.azure-api.net/LogicApp_UKWest/manual/paths/invoke</set-url>
<set-method>POST</set-method>
<set-header name="Host" exists-action="override">
<value>testapimangament.azure-api.net</value>
</set-header>
<set-header name="Content-Type" exists-action="override">
<value>application/json</value>
</set-header>
<set-header name="Ocp-Apim-Subscription-Key" exists-action="override">
<value>2b8e3db460254749b553ba45393578e1</value>
</set-header>
<set-header name="Ocp-Apim-Trace" exists-action="override">
<value>true</value>
</set-header>
<set-body />
</send-request>
</when>
</choose>
</outbound>
<on-error>
<base />
</on-error>
</policies>

But I have some question

1) APIM will trigger only those logic app which have Trigger "When Http request is received" if logic app is trigger from scheduler then APIM will not work is there anyway to trigger scheduler based Logic app through APIM?

2) APIM is also region based If the APIM region  is down what will be disaster management for this?

3) We have disable the first logic app and test the APIM but how can we test the actual scenario when azure region is down?

4) What is the best practice to handle the Disaster management in Azure logic app if the region is down?

I have the same question (0)
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Rizwan,

    This forum is about Microsoft Dynamics 365. You can better ask your question on the Logic Apps forum: social.msdn.microsoft.com/.../home

  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    Hi Rizwan ,

    Your question is not related to Dynamics 365 for Finance , this forum is for D365 for finance . Better place to ask your question is Microsoft Q&A forum .  You can post your question on the link below to get your answers. Per link below (First link) logic apps forum is now migrated to Q&A

    social.msdn.microsoft.com/.../announcement-azure-logic-apps-forum-migrated-to-microsoft-qampa

    docs.microsoft.com/.../index.html

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans