Not able to See the logs in Azure function app.

Urmila Purohit 60 Reputation points
2025-05-12T11:43:15.0266667+00:00

We are using Azure API Managed service and Azure function app(consumption plan) and we are facing 429 error code in response. Due to consumption plan I am not able to enable the logs. Is there any way to enable the logs without changing the consumption plan?
What is the cause of 429 error code? How I can debug that 

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,929 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Khadeer Ali 5,990 Reputation points Microsoft External Staff Moderator
    2025-05-13T09:14:53.6366667+00:00

    @Urmila Purohit ,

    Thanks for the follow-up. I understand you're receiving 429 Too Many Requests errors, and you'd like to get to the bottom of it — especially since no explicit rate limiting has been configured.

    We've looked into this, and I can confirm that these 429 responses are most likely being triggered due to platform-level throttling applied by Azure on the App Configuration Store or the hosting plan (e.g., API Management, Function App, etc.), even if no custom throttling policy is set.

    Azure enforces internal quotas depending on the tier you're using — such as Free, Developer, or Standard. A 429 response typically indicates one of the following:

    • Request/throughput quota has been exceeded.
    • Bandwidth limit for the tier is hit.
    • Too many operations (like reads/writes to key-values) are occurring within a short time.
    • In some Function App plans (especially Consumption), cold starts or parallel executions may hit limits.

    Even in the absence of user-defined rate limits, these service-level controls can lead to throttling.

    To get a precise reason, I recommend:

    • Capturing the 429 response body — it often includes the specific reason for throttling.
    • Checking diagnostic logs on the App Configuration Store. Enabling and streaming logs to Log Analytics can help you monitor request volume, failures, and throttling patterns.
    • Reviewing the Request Quota Usage metric — this metric reflects how close you are to the tier limits.

    If you’re using an API Management gateway, you can enable Diagnostic Logs related to Gateway Logs and stream them to Log Analytics to get a clearer view of incoming/outgoing traffic patterns.

    If the 429s are frequent or impacting production:

    • Upgrade to the Premium tier – this removes most request/throughput limits.
    • Implement caching/retries – use SDKs or providers with built-in retry logic.
    • Distribute traffic load – scaling out across client instances can help.
    • Reduce config reads – e.g., cache configs locally and reduce polling frequency.

    The same was documented here:
    https://learn.microsoft.com/en-us/azure/azure-app-configuration/faq#my-application-receives-http-status-code-429-responses--why

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for "Was this answer helpful." And if you have any further questions, let us know.

    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.