Forum Discussion
scomesana_v
May 25, 2026Copper Contributor
Classic Outlook event-based add-in: fetch/XMLHttpRequest fails in JavaScript-only runtime
We are testing outbound HTTP from an Outlook add-in event-based activation handler running in the classic Outlook for Windows JavaScript-only runtime used by: <Override type="javascript" resid="JSRu...
Jamony
Jul 11, 2026MCT
Hi scomesana_v, event-based add-ins in classic Outlook have a tighter JavaScript runtime than a normal task pane, so network calls can fail because of runtime limits, CORS, manifest domains, or timing. Confirm the endpoint is HTTPS, listed correctly in the manifest where required, and returns proper CORS headers. I would also log whether the request fails before sending, after preflight, or on response handling. That tells you if this is a policy/runtime issue or a server-side response issue.