Hello Herson Ian Moneda,
Thank you for posting your question in the Microsoft Q&A forum.
Your current code extracts string fields but misses table values because tables require specialized handling in the Azure Document Analysis client. The DocumentField object contains a ValueType property distinguishing between primitive fields (strings, numbers, dates) and complex types (tables, arrays). For tables, you must explicitly check for DocumentFieldType.Array or DocumentFieldType.Object and process the nested structure. The Items field likely contains tabular data stored as a collection of DocumentField objects, which requires iterative enumeration. Modify your code to inspect each field's ValueType and implement recursive logic for table traversal.
If the above answer helped, please do not forget to "Accept Answer" as this may help other community members to refer the info if facing a similar issue. Your contribution to the Microsoft Q&A community is highly appreciated.