A repo and NPM package for Office.js, corresponding to a copy of what gets published to the official "evergreen" Office.js CDN, at https://appsforoffice.microsoft.com/lib/1/hosted/office.js.
Provide required information needed to triage your issue
Your Environment
Platform [PC desktop, Mac, iOS, Office on the web]: PC desktop and Office on the web
Host [Excel, Word, PowerPoint, etc.]: Outlook classic and Outlook on the web
Office version number: Version 2408 Build 16.0.17928.20066
Operating System: Windows 11
Browser (if using Office on the web): All
Expected behavior
The moveItemTo field of the event.completed method of an integrated spam add-in should have a the same behavior in Outlook classic and Outlook web. In particular, when using it on a shared mailbox, I would expect the email being moved to a folder of the same shared mailbox.
Current behavior
I report an email from the red "Inbox" folder of the shared mailbox.
In Outlook classic, the email is moved to the blue "Phishing" folder. Instead, I would expect it to be moved to the green "Phishing" folder.
In Outlook web, the email is moved to the green "Phishing" folder, which makes more sense.
I would expect all Outlook versions to behave the same way as Outlook web. It is a weird behavior to have the email moved across mailboxes.
Steps to reproduce
Create an integrated spam-reporting add-in
Add <SupportsSharedFolders>true</SupportsSharedFolders> to the manifest
Replace event.completed by the code snippet below (request to move email to a custom folder named "Phishing").
@lmontand Thanks for reporting this issue regarding MoveSpamItemTo behavior. It has been put on our backlog. We unfortunately have no timelines to share at this point
Provide required information needed to triage your issue
Your Environment
Expected behavior
The
moveItemTo
field of theevent.completed
method of an integrated spam add-in should have a the same behavior in Outlook classic and Outlook web. In particular, when using it on a shared mailbox, I would expect the email being moved to a folder of the same shared mailbox.Current behavior
I report an email from the red "Inbox" folder of the shared mailbox.
I would expect all Outlook versions to behave the same way as Outlook web. It is a weird behavior to have the email moved across mailboxes.
Steps to reproduce
<SupportsSharedFolders>true</SupportsSharedFolders>
to the manifest