Share via

Slow response on Microsoft Foundry, Document Inteligent

Matias Haller 0 Reputation points
2026-05-06T21:18:16.2366667+00:00

We are sending a batch of 2 documents, there are invioces 1 page each invoice. The documentAI model is taking as 1 hour to get this process.

We Would like to understan why this is happening.

Azure Document Intelligence in Foundry Tools

1 answer

Sort by: Most helpful
  1. Karnam Venkata Rajeswari 3,335 Reputation points Microsoft External Staff Moderator
    2026-05-06T21:40:45.92+00:00

    Hello @Matias Haller ,

    Welcome to Microsoft Q&A .Thank you for reaching out to us.

    For a batch of two single‑page invoices, an end‑to‑end processing time of approximately one hour is significantly higher than expected. Under normal operating conditions, this type of workload typically completes within seconds to a few minutes.

    A review of current service status indicates that there are no publicly reported service‑wide outages or known incidents affecting Document Intelligence at this time. While this rules out a global platform issue, temporary regional capacity pressure, backend queue congestion or workflow‑level delays may still occur without appearing as a service‑wide incident which can contribute to the latency issues.

    However , extended processing time is not related to document size or invoice complexity but rather to how the request is executed within asynchronous workflows. When requests are submitted through Foundry flows, SDK‑based orchestration, or batch pipelines, the operation may spend time in backend queues before document analysis begins. In addition, polling intervals, retries, and orchestration logic can significantly increase the total observed duration, even when the actual document extraction completes much faster.

    To help isolate the root cause, please check if the following validations are helpful, listed in order of likelihood:

    1. Validating Execution Method and Workflow Timing Confirm whether processing is triggered via:
      • Azure AI Foundry flow
      • REST API
      • SDK
      • another orchestration layer
      Verify whether the workflow uses asynchronous polling or batch execution Compare:
      • request submission time
      • analyze operation start time
      • completion retrieval time This helps determine whether the delay originates from queueing, polling, or actual document analysis.
    2. Validating Service Tier and Quotas
      1. Lower tiers such as F0 may experience throttling and queue delays
      2. S0 tier or higher is recommended for sustained or production workloads
      3. Check for throughput, concurrency, or shared resource usage that could impact performance
    3. Reviewing throttling, retries, and quota signals Review logs for:
      • 429 (Too Many Requests) responses
      • retry patterns or back‑off behavior
      • timeout activity High retry volume can significantly extend overall workflow duration.
    4. Validating Regional Behavior
    5. Verify Azure Service Health for the deployed region
    6. Test the same workload in another Azure region, if feasible
      1. Process the same invoices directly in Document Intelligence Studio or via a simple synchronous API call If processing completes quickly in these tests, the delay is likely related to workflow orchestration rather than the Document Intelligence service itself.
    7. Reviewing document characteristics While less likely for this scenario, validation is recommended if delays persist:
      • File size and format (PDF, PNG, JPG)
      • Image resolution or DPI
      • Presence of embedded images or malformed metadata

    The following references might be helpful , please check them out

    Thank you

    Was this answer helpful?


Your answer

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