Closed mikelly-psat closed 10 hours ago
Thanks for reporting this @mikelly-psat.
@samantharamon, could you please investigate?
Hi @mikelly-psat,
Apologies for the delayed response. I'm currently updating the sample to resolve this issue. I'm creating a separate JS file containing code that applies to classic Outlook on Windows. I should have a fix that you can test out next week.
@mikelly-psat, changes were made in PR #808. If you continue to experience issues, please reopen this issue or create a new one. Thanks.
URL of sample
https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/outlook-spam-reporting
Describe the bug
This sample wraps the
Office.actions.associate(...)
call, which is only needed on classic Outlook for windows, in anOffice.onReady(...)
call. ThatonReady
call will never be invoked on classic Outlook for this style of add-in, per MS's documentation: https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/spam-reportingTo Reproduce
Steps to reproduce the behavior:
Expected behavior
The report doesn't get stuck, and runs to completion correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
Additional context
N/A