Getting 503 Error message in Azure APIM API connected to Logic App Standard

Devender S 0 Reputation points
2024-12-09T11:49:22.6866667+00:00

Getting 503 Error message in Azure APIM API connected to Logic App Standard.

APIM is in Premium tier and Logic App is having Standard plan with Elastic App Service Plan (WS2, Instance Count 4).

Checked Metrics in App Service and CPU usage is coming out to be more than 98% but Logic App Health Check shows everything under control and maximum usage less than 70%.

App Service is dedicated only to one Logic App.
What can be the issue?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,242 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,279 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Shireesha Eeraboina (Quadrant Resource LLC) 575 Reputation points Microsoft Vendor
    2024-12-10T09:01:09.2133333+00:00

    Hi @Devender S,

    Thanks for posting your question in Microsoft Q&A, apologize for any inconvenience caused on this. 

    Based on the shared information, I understand that you're facing an issue with the 503 while calling the logic app from APIM.

    1. How this apim and logic are connected, are you calling APIM from logic app as action using the built-in connector? or are you importing the logic app as one API in APIM? 
    2. If you are importing an API, have you followed the documentation steps mentioned: (https://learn.microsoft.com/en-us/azure/api-management/import-logic-app-as-api).
    3. When you call the logic app Api from the run history of logic app do you see it is getting triggerd and executed successfully without any issues?
    4. You can also follow this troubleshooting steps to troubleshoot 503 errors in APIM 
    5. If are seeing high CPU on logic apps I would suggest you troubleshoot using the High CPU Analysis detector under Availability and Performance in Diagnose and solve problems of your logic app as shown screenshot or you can scale the logic app to next app service plan to isolate the issue. User's image
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.