An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
Hello @Palacký Martin
Welcome to Microsoft Q&A .Thank you for reaching out to us.
Thank you for sharing the detailed information and screenshot regarding the issue observed with the prebuilt Invoice model in Azure AI Document Intelligence.
Based on the behavior described, the document upload and preview in the portal Test tab appear to be functioning as expected. However, the failure occurs during the document analysis stage with the message:
“Analysis failed. Failed to analyze the file. An unexpected error occurred.”
This indicates that the issue is likely occurring during backend processing rather than during file ingestion. Considering that the same behavior is reproducible across multiple PDF invoices, the scenario may be influenced by a combination of service conditions, model behavior or input characteristics.
The observed behavior may be associated with one or more of the following:
- Temporary backend processing issue or service degradation
- Region-specific or model-specific performance limitations
- Input document characteristics affecting analysis
- Portal-specific limitations or transient UI behavior
Please check if the following steps helps -
- Validating Service Health and Regional Status
- Review the current service status on
- This helps identify any regional or service-wide incidents impacting processing.
- Isolating model vs service scope Please test additional models within the same resource:
- prebuilt-layout
- prebuilt-read
- Validating via REST API or SDK Consider executing the same PDF using REST API or SDK to check backend response details
- If the API succeeds but portal fails - Portal/UI limitation or transient issue
- If the API fails with same error - Backend, document, or configuration issue
- Validating Input PDF Characteristics Even when multiple files fail, validating input properties remains important:
- Ensure PDF is:
- Not encrypted or password-protected
- Not corrupted
- Confirm document meets supported limits:
- Up to 500 MB and 2000 pages (Standard tier)
- Please verify:
- Single-invoice vs multi-invoice structure
- Scanned vs digitally generated PDFs
- Validating region and deployment setup
- Please confirm the resource is deployed in a supported region
- Prebuilt models rely on regional availability and supported configurations
- Performing Cross-Region Testing Consider deploying a temporary resource in another region and retest the same PDFs If issue is not reproducible - likely region-specific behavior If issue persists - broader service or input-related condition
The following references might be helpful , please check them out
- Document Processing Models - Document Intelligence - Foundry Tools | Microsoft Learn
- Azure Document Intelligence in Foundry Tools known issues - Foundry Tools | Microsoft Learn
- What Is Azure Document Intelligence in Foundry Tools? - Foundry Tools | Microsoft Learn
- Use Document Intelligence client library or REST API - Foundry Tools | Microsoft Learn
Please let us know if the response was helpful
Thank you