I’m encountering a critical issue with the Move Email activity in the Microsoft 365 package (v3.5.10).
The activity executes without throwing an error, but it fails to move any emails. Despite the shared mailbox being enforced in both the Integration Service connection and the activity itself, debugging reveals that the sharedmailbox property of the Move Email activity is resolving as null .
Behavior: The BOT reads emails from the “RPA (before)” folder successfully, but the subsequent “Move Email” step does nothing and reports no exception.
Debugging Discovery: The Locals panel shows the shared mailbox account as null during the move operation, even when explicitly configured.
Attempted Fixes: I’ve already verified scopes, tested older package versions, tried different shared mailbox folders, and used various email types (with/without attachments).
Has anyone encountered a similar issue or found a workaround for this? I would appreciate any guidance or suggestions you might have.
Replace Move Email with HTTP Request activity using Microsoft Graph API directly. First, use Get Emails (Mail) to retrieve the message ID, then POST to https://graph.microsoft.com/v1.0/users/{sharedMailboxEmail}/messages/{messageId}/move with body {"destinationId": "{targetFolderId}"} —requires Mail.ReadWrite.Shared scope and obtains folder IDs via Get MailFolder. This bypasses activity bugs as Graph handles intra-mailbox moves reliably for shared mailboxes when using the /users/{id} endpoint.
I am trying to move an email within the same shared mailbox.
Unfortunately, I cannot use Graph API HTTP requests. Due to internal policies, we are unable to use the M365 connector and must rely solely on the M365 Outlook connection within Integration Services. Consequently, the previously suggested method will not work for my setup.
Create a dedicated Integration Service Outlook connection specifically for the shared mailbox in UiPath Automation Cloud > Integration Service > Connections > Add Connection > Microsoft Outlook 365, enabling “Use shared mailbox” and entering the full shared mailbox email address
Integration Service Scope (select the shared mailbox-specific connection)
├── Get Emails (Mail) → from “RPA (before)” folder → Emails (Office365Message array)
└── For Each CurrentEmail in Emails:
└── Move Email
├── Message: CurrentEmail
├── To email folder: Browse to “RPA (after)” folder using the connection’s folder picker
└── Use shared mailbox: Toggle ON (inherits from connection)