Calculating through Graph
Your app writes inputs to the workbook, asks Graph to calculate, then reads the outputs. Three points in Microsoft's documentation shape that loop:
- A signed-in user. The calculate endpoint requires delegated permissions from a work or school account. Application permissions and personal accounts are not supported.
- One request at a time. Microsoft recommends sending the next request only after the current request succeeds, rather than parallel requests to the same workbook.
- No result in the response. The calculate response is 204 No Content, with no body. Microsoft documents no calculation status endpoint.
How it works with WorkbookAPI
Start with the free browser check. It shows which formulas compute like Excel's saved results before any upload. Recalculate and save in Excel first so there are results to compare.
Upload your workbook once, up to 10 MB, and declare its inputs and outputs. Use an API key for server-to-server calls, with no user sign-in per call. Send one or many input sets in a request; the response returns the calculated outputs. When the model changes, upload a new version. See the API docs for the workflow and limits.
The browser check keeps the file on your device; using the hosted API requires a separate upload to our server. Start free trial after checking compatibility.
When Graph is still the right tool
Keep Graph when your app needs to edit the live shared workbook. A persistent session saves changes to the source workbook. WorkbookAPI calculates the copy you upload and does not change the shared file.
Keep editing and co-authoring in Excel. If the model depends on macros or functions we do not support, keep that calculation in Excel too. WorkbookAPI does not run macros; the browser check helps you decide whether the formulas fit.
What is not supported
Macros (VBA), Get Data queries (Power Query), PivotTables, What-If Analysis data tables and links to other workbooks are not supported. The report flags them.
FAQ
Can I calculate through Graph with application permissions?
No. The calculate endpoint supports delegated permissions for a signed-in work or school account only. Application permissions and personal accounts are not supported.
Can I poll Graph for calculation status?
No. The calculate endpoint returns 204 No Content with no body. Microsoft documents no calculation status endpoint. WorkbookAPI returns the calculated outputs in the response.
How do I call WorkbookAPI from a server?
Use an API key, with no user sign-in per call. Upload the workbook once, declare inputs and outputs, then send one or many input sets in a request. See the API docs for details.
Can I check compatibility before uploading?
Yes. The free browser check shows which formulas compute like Excel's saved results. Recalculate and save in Excel first. Your file stays in your browser during the check; only anonymous totals are counted, never values, formulas, or file names. A match for saved inputs does not prove every input will match.
Read the privacy policy.
Start with your workbook
Check your workbookFree · Your file stays in your browser
See Excel to API for the calculation workflow, or scenario analysis for many input sets.