MicrosoftAjax.js is not loaded successfully inside Office application
问题 I was using the CDN release of office-js , but had to change to a local version. After this change, it seems Office.initialize is not being run, which means the add-in doesn't work correctly. On the console, I see the following error: SCRIPT5022: MicrosoftAjax.js is not loaded successfully. office.js (18,26767) The only references to MicrosoftAjax.js that I can find are ASP.NET related, but my project is Typescript/React. Here's how office.js is being loaded in the html: <!doctype html> <html