Spam-reporting add-in (preview) Outlook not working

Yehor 0 Reputation points
2024-03-03T15:52:21.82+00:00

Hello, I'm currently attempting to integrate the Spam Reporting add-in, but it's not loading after appearing in Outlook.

To preview the integrated spam-reporting feature, I joined the Microsoft 365 Insider program, selected the Beta Channel option to access the Office beta builds, and updated everything to the latest build.

Environment: I've set up my environment and followed the Microsoft documentation on how to build apps with the Yeoman generator.

Configuration: I meticulously followed all the steps outlined in the Microsoft documentation:

Inserted the Version node from the documentation into my Manifest.
Implemented the event handler by creating a new folder "spamreporting" and placing "spamremoving.js" inside it with the provided code.
Adjusted the Registry setting for the "getAsFileAsync" method.
Updated the commands HTML file.
Updated the webpack config settings.

After completing the configuration, I sideloaded the add-in using "npm start."

The initial problem I encountered is that the button does not appear in the top ribbon but on top of the selected email. After clicking on it, I only get the default welcome screen, and the add-in doesn't function as expected—it's not reporting or performing any actions.

Do you have any ideas about what might be causing this issue? Should I modify the provided code from the Microsoft documentation, considering that I only copied it into my project, or could the problem lie elsewhere?

This is how it looks after I sideload my add-in

image

Outlook
Outlook
A family of Microsoft email and calendar products.
3,678 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,842 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.