fetch is not defined in SSO Office Add-in

Tom H2o 0 Reputation points
2024-05-27T13:04:05.5666667+00:00

I've followed the instructions here:

Enable SSO in an Office Add-in using nested app authentication - Office Add-ins | Microsoft Learn

Under the Call an API, TODO 4, my VS Code is telling me that 'fetch' is not defined. This is in the taskpane.js file. I've updated my Node to the latest version, V20.13.1.

This is for an Excel add-in.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,269 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,687 questions
0 comments No comments
{count} votes