An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
Documents submitted to Azure Document Intelligence for ordinary OCR or analysis are not used to train foundation models; they are processed to return the requested result and temporarily retained for up to 24 hours.
What happens to an uploaded document
For every Document Intelligence analysis request:
- The document is processed in the same region where the Document Intelligence resource was created.
- Input and extracted results are encrypted and temporarily stored in Azure Storage in that region.
- Although regional temporary storage is shared, each customer’s data is logically isolated through their Azure subscription and API credentials.
- The input and analysis result are automatically deleted 24 hours after the analysis operation completes. ^1^
This temporary storage enables the asynchronous API workflow: the application submits an analysis request and subsequently retrieves its status and result.
Microsoft’s Online Services commitments state that Customer Data is processed to provide the service and is not used to train foundation models without explicit customer permission. ^2^
Custom-model distinction
There is an important difference between analyzing with an existing model and training a custom model:
- Prebuilt OCR, Read, Layout, or other analysis: the submitted document is inference input, not training data.
- Custom model build: documents that you deliberately place in your Azure Blob Storage training dataset are used to train your custom model. Interim labeling and analysis outputs remain in that storage location. The resulting custom model is stored in the same Azure region and logically isolated using your subscription and API credentials. ^1^
Thus, uploaded OCR documents do not silently become training data. Training occurs when you explicitly invoke the custom-model build operation with a designated training dataset.
Deleting analysis data sooner
With Document Intelligence API version 2024-11-30, call Delete Analyze Result after retrieving the result. It permanently deletes the submitted input and analysis result associated with that operation; successful deletion returns HTTP 204 No Content. ^3^
DELETE {endpoint}/documentintelligence/documentModels/{modelId}/analyzeResults/{resultId}?api-version=2024-11-30
Ocp-Apim-Subscription-Key: {document-intelligence-key}
Retain the resultId returned by the analyze operation, retrieve the completed result, and then issue this deletion request.
Also account for copies controlled by your application—such as the original document in your own Blob Storage, logs, queues, databases, backups, or cached OCR output. Document Intelligence’s automatic or API-triggered deletion does not delete those application-managed copies.
References