"We can't open this add-in from localhost" when loading an Office Add-in or using Fiddler
Office 365 ProPlus is being renamed to Microsoft 365 Apps for enterprise. For more information about this change, read this blog post.
When you load an Office Add-in from https://localhost or when you use Fiddler, you receive the following error:
We can't open this add-in from localhost.
One cause of this error is that the Microsoft Edge Web Viewer does not have a loopback exemption. To resolve this issue, use either of these options to add a local loopback exemption to Desktop App Web Viewer:
Option 1: Use command to add a local loopback exemption
- Open a command prompt as administrator.
- Run the following command:
CheckNetIsolation LoopbackExempt -a -n="microsoft.win32webviewhost_cw5n1h2txyewy"
Option 2: Use Fiddler to add a local loopback exemption
- Select Tools > Win8 Loopback Exemptions.
- Add an exemption to Desktop App Web Viewer.
Third-party disclaimer information
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
The information and the solution in this document represent the current view of Microsoft Corporation on these issues as of the date of publication. This solution is available through Microsoft or through a third-party provider. Microsoft does not specifically recommend any third-party provider or third-party solution that this article might describe. There might also be other third-party providers or third-party solutions that this article does not describe. Because Microsoft must respond to changing market conditions, this information should not be interpreted to be a commitment by Microsoft. Microsoft cannot guarantee or endorse the accuracy of any information or of any solution that is presented by Microsoft or by any mentioned third-party provider.
Microsoft makes no warranties and excludes all representations, warranties, and conditions whether express, implied, or statutory. These include but are not limited to representations, warranties, or conditions of title, non-infringement, satisfactory condition, merchantability, and fitness for a particular purpose, with regard to any service, solution, product, or any other materials or information. In no event will Microsoft be liable for any third-party solution that this article mentions.