Disable Pop-up "WebView Stop On Load" for Outlook Add-In

Marc 0 Reputation points
2024-06-27T13:01:59.5833333+00:00

I am hosting an Outlook add-in, and the users are prompted with this pop-up when starting the add-in.

screenshot-1

"Webview Stop on Load: To debug the webview, attach VS Code to the webview instance using the Microsoft Debugger for Edge extension, and click OK to continue. To prevent this dialog from appearing in the future, click Cancel."

This is quite annoying, and therefore, I want to somehow prevent the pop-up from showing.

We are hosting the add-in by hosting the manifest.xml as well as the HTML, CSS and JS file.

Does anyone have an idea how to prevent this pop-up from showing?

Sidenodes: I have read that one should start the add-in with office-addin-debugging and --no-debug, but as we are only hosting the files, this does not apply to us. Perhaps, there is some option in the manifest.xml to be set, a response header that we should include or remove when sending the files or removing/adding additional info to our minified versions of the hosted files.

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
4,186 questions
Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,428 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
3,297 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
918 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,671 questions
{count} votes