Add-in Error: Something went wrong and we couldn't start this add-in.

Viewed 1947

I am using Create React App to build an add-in for Excel. The add-in works well in the Excel for macOS.

The Repo

However, when I try to load it in Excel Online. After uploading the manifest file and opening the add-in, it shows

Add-in Error: Something went wrong and we couldn't start this add-in. Please try again later or contact your system administrator.

enter image description here

The console shows

Error while parsing the 'sandbox' attribute: 'ms-allow-popups' is an invalid sandbox flag.

I am already using HTTPS in development by HTTPS=true npm start.

What else may cause this? Thanks

2 Answers

This issue can be caused by your Office365 administrator changing their security settings to disallow all add-ins that have not been approved by your administrators.

If they either disable this restriction in the Office 365 admin system or add your add-in's manifest to the allowed list, after some propagation delay (minutes to days depending on the number of individuals in your Office365 tenant) you should find your add-in opens as normal.

Related