Closed navmro closed 6 months ago
Thank you for reporting this, @navmro. The team is currently investigating this issue. Are you able to run the sample in classic Outlook on Windows by any chance?
Yes, running the same code (https://github.com/navmro/antiphishing) on classic desktop Outlook works. I get the pop-up, and then the email is moved to the junk folder. Or do you mean another sample ?
@navmro The issue has been fixed, and will be available in prod by end of next week. Please check after 4/26 and re-open if this issue still persists.
Provide required information needed to triage your issue
Now that the feature for "integrated spam-reporting add-in" is also in preview for the new Outlook we're trying to have it work there. The plugin appears, but the button does nothing and no logs is generated.
Your Environment
Expected behavior
The email is moved to the junk folder.
The plugin is made using the exact "default" js code from the documentation: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/spam-reporting
Current behavior
When an email is selected, the button appears clickable, but nothing happens on click.
Steps to reproduce
npm start
I've made a small plugin to reproduce the issue which only contains the code from the documentation. https://github.com/navmro/antiphishing
Provide additional details
Context
We're trying to replace our existing VSTO spam-reporting addin with a new one that would work in the new Outlook.
The new JS plugin works on the old outlook desktop app, but not in the new Outlook desktop app.
Useful logs
The documentation mentions that errors go in the event viewer: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/troubleshoot-event-based-and-spam-reporting-add-ins
It's unclear to me if this applies to both old outlook and new outlook, but nothing appears in the event viewer. When the new Outlook load or when the plugin's button is pressed.
I've also tried using the plugin on Outlook for the Web, even though it's not my targeted environment to see if in the browser's console there is an error. But no error linked to the plugin appears in the console, and the button does nothing when clicked (no animation even).
Here is the output of the errors in the console, in case I've missed something and they are linked:
I would gladly provide any additional information needed for triage or debugging.