Fix Excel API Returning Empty Data from Last Column XFD
Question details
Microsoft Graph Excel API returns empty values when a worksheet's data extends to the final column (XFD).

- Product
- Microsoft Excel API
- Device & OS
- not provided
- Scenario
- Attempting to fetch spreadsheet data using usedRange or the specific A1:XFD1 range via Microsoft Graph API.
- Observed behavior
- The API request returns an empty dataset when the XFD column contains data, but functions correctly once the XFD column is deleted.
Review your workbook's data structure to determine if data strictly needs to reside in the absolute final column (XFD) of the spreadsheet grid.
Clear the XFD Column or Adjust the API Range
Since the API struggles to process the absolute edge of the Excel grid, restricting the data range avoids the bug and allows data retrieval.
Microsoft Graph API currently has a known limitation when querying the maximum boundary of an Excel sheet (column 16,384). By adjusting your data placement or limiting the query range, you can bypass this error and fetch your data successfully.
Open the affected Excel workbook, scroll or jump to the final column (XFD), and check if it contains essential data.
Move any critical data from column XFD to an earlier empty column. Right-click the XFD column header and select 'Delete' to clear its contents.
If you cannot modify the workbook, change your API request payload to target a specific range (e.g., A1:XFC1) instead of using 'usedRange' or targeting XFD directly.

Report the Issue to Microsoft Developer Support
If your automated processes strictly require reading data from the XFD column, escalating the bug to Microsoft is the necessary path for a permanent fix.
Try WPS Office for Seamless Spreadsheet Management
While navigating Microsoft Graph API bugs and limitations can be frustrating, managing your actual spreadsheet files doesn't have to be. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office, ensuring your large datasets are handled with speed and precision.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your computer.
- 2. Open Your Spreadsheets: Launch WPS Spreadsheet and directly open your existing .xlsx files with no format conversion needed.
- 3. Manage Data Freely: Enjoy fast, seamless editing and data manipulation, even for files containing data up to the maximum column limits.

Frequently Asked Questions
Why does the Excel Graph API fail specifically on column XFD?
Column XFD is the absolute maximum limit of a modern Excel worksheet (the 16,384th column). Microsoft Graph API currently exhibits a boundary bug where querying this exact edge using 'usedRange' or direct range limits results in an empty response.
How many columns does a standard Excel worksheet support?
A standard modern Excel worksheet (.xlsx) supports up to 16,384 columns, which ends precisely at column XFD, and up to 1,048,576 rows.
Can I use WPS Office to open files with data stretching to column XFD?
Yes, WPS Spreadsheet is fully compatible with standard .xlsx boundaries and can flawlessly open, view, and edit large datasets that span across the maximum row and column limits.




