- Provide the Document Intelligence resource endpoint and an access key to authenticate API calls.
- Include the deployed custom model’s ID in the analysis request so the service knows which model to execute.
- The service returns a poller object for long-running analysis operations; use it to monitor progress and obtain the final AnalyzeResult once processing completes.

Before calling the SDK, confirm your custom model is deployed and take note of the model ID. Ensure the document URI is reachable by the service (public URL or storage with proper access). If you use SAS-secured blobs, verify the token grants read access to the file.
Be careful with secrets and endpoint values. Never check your Azure keys into source control. If using storage URIs with tokens, ensure the token provides read access and is valid for the duration of the analysis.
- Once the poller completes, the returned AnalyzeResult (C#) or result (Python) contains:
- Extracted fields as defined by your custom model (names, values, and confidence scores).
- Page and layout information (text lines, bounding regions).
- Additional metadata such as page ranges and any warnings produced during processing.
- Use these fields to populate downstream processes, persist structured data, or drive business logic that depends on the extracted content.
- Azure Document Intelligence documentation
- Quickstart: Analyze documents using the Document Analysis client library
- SDK packages:
- C#: Azure.AI.DocumentAnalysis
- Python: azure.ai.documentanalysis