Ein Azure-Dienst, der Funktionen für natürliche Sprache wie Stimmungsanalyse, Entitätsextraktion sowie automatisierte Fragen und Antworten bereitstellt
Azure Document PII Redaction – HTTP 400 InvalidRequestBodyFormat
Hello Microsoft Azure Team,
I am testing Azure AI Language Document PII Redaction to automatically redact personal information in PDF documents.
Environment:
- Azure AI Language
Region: Germany West Central
Pricing tier: Free F0
API endpoint: /language/analyze-documents/jobs
API version tested: 2026-05-01
.NET 8 / C#
Working functionality:
Azure Document Intelligence OCR works.
Azure Language Text PII recognition works.
Azure Blob Storage uploads work.
Input SAS read access works.
Output SAS write access works.
Problem:
Document PII Redaction consistently returns:
HTTP 400 – InvalidRequest
Inner error: InvalidRequestBodyFormat
Message: "Invalid analysisInput in request."
The request contains analysisInput.documents, with Azure Blob source and Azure Container target locations, and a PiiEntityRecognition task.
The same error occurs with a small, entirely fictional TXT test file. This excludes the original PDF content as the sole cause.
My questions:
Is Document PII Redaction supported in Germany West Central on the F0 tier?
Which API version and exact JSON request structure should be used?
Does this feature require additional activation or permissions?
How can I successfully obtain a redacted PDF while preserving the document layout?
Thank you for your assistance.Hello Microsoft Azure Team,
I am testing Azure AI Language Document PII Redaction to automatically redact personal information in PDF documents.
Environment:
Azure AI Language
Region: Germany West Central
Pricing tier: Free F0
API endpoint: /language/analyze-documents/jobs
API version tested: 2026-05-01
.NET 8 / C#
Working functionality:
Azure Document Intelligence OCR works.
Azure Language Text PII recognition works.
Azure Blob Storage uploads work.
Input SAS read access works.
Output SAS write access works.
Problem:
Document PII Redaction consistently returns:
HTTP 400 – InvalidRequest
Inner error: InvalidRequestBodyFormat
Message: "Invalid analysisInput in request."
The request contains analysisInput.documents, with Azure Blob source and Azure Container target locations, and a PiiEntityRecognition task.
The same error occurs with a small, entirely fictional TXT test file. This excludes the original PDF content as the sole cause.
My questions:
Is Document PII Redaction supported in Germany West Central on the F0 tier?
Which API version and exact JSON request structure should be used?
Does this feature require additional activation or permissions?
How can I successfully obtain a redacted PDF while preserving the document layout?
Thank you for your assistance.