Announcements
What rights are needed to be able to send on behalf of a queue?
An email is being sent from a workflow. The from address is a queue.
The System Administrator is able to run the workflow and the email is sent on behalf of the queue.
Another user receives the message that he does not have sufficient rights to send on behalf of the queue.
Exception on SendEmailResponse - You (User GUID) do not have sufficient privileges to send email as the queue GUID in the From field. See go.microsoft.com/.../ Contact your system administrator for assistance.
That user is a member of the queue, and that user also has send on behalf of another user rights with the user's security role. (In the security role on the Business Management tab, the property Send Email as Another User is granted at the organization level)
The link provided only deals with sending on behalf of another user.
However, I do not know where to find the rights for being able to send on behalf of a queue.
Thanks.
The issue turned out to be that the security group needed the necessary rights for access to the Queue table. Once the rights for being able to Read, Append, and Append To were granted for the Queue table the issue was resolved.
Here is the scenario:
Logged in as User X
Trigger a workflow with the setting of run as owner of workflow (the owner of the workflow is a Sys Admin)
In the workflow, the From address is set to Queue A
The workflow throws an error on that line of the workflow
The error message from the workflow says that User X does not have permission to send on behalf of Queue A
User X is a member of Queue A
Queue A is a public queue
User X has rights to send on behalf of another user
If I log in as the Sys Admin and trigger the workflow, no error is thown and the email is sent.
The SysAdmin is a member of Queue A
If there is a way to assign rights to User X to be able to send on behalf of Queue A, I am not aware of how to do that.
Perhaps this is an issue with the Exchange server.
Thanks for your help.
I mean the running user (System Admin) and the GUID mentioned in the error. Are they the same?
Hello,
If you have already tried all the things, I cannot think of any other issue with this flow. I would suggest you to raise a MS ticket
Naveen, thank for proving the link and the suggestion about making it a public queue. Unfortunately, that did not work.
Abudul, Thanks for the suggestion. I tried that, but it still throws the same error. Even when the workflow is run as a System Administrator, it must be attempting to send the email as the logged in user who triggered the workflow. It never even creates a record in the Email table.
Hello Ignatius,
Please make sure you follow the steps in this blog: meganvwalker.com/.../
Also, I believe you can keep your queue as a public queue and the error should be resolved.
Hi Ignatius,
The quick and easiest fix is to change 'Execute as' to The owner of the workflow
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,186 Super User 2024 Season 2
Martin Dráb 227,996 Super User 2024 Season 2
nmaenpaa 101,148