Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Rights Need to Send on Behalf of a Queue

Posted on by 30

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.

  • Verified answer
    Ignatius Profile Picture
    Ignatius 30 on at
    RE: Rights Need to Send on Behalf of a Queue

    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.

  • Ignatius Profile Picture
    Ignatius 30 on at
    RE: Rights Need to Send on Behalf of a Queue

    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.

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
    RE: Rights Need to Send on Behalf of a Queue

    I mean the running user (System Admin) and the GUID mentioned in the error. Are they the same?

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
    RE: Rights Need to Send on Behalf of a Queue

    Hi Ignatius,

    When you execute it to run as the workflow at that time did you compare the GUIDs?

    pastedimage1674838449010v1.png

  • Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: Rights Need to Send on Behalf of a Queue

    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

  • Ignatius Profile Picture
    Ignatius 30 on at
    RE: Rights Need to Send on Behalf of a Queue

    Naveen, thank for proving the link and the suggestion about making it a public queue. Unfortunately, that did not work.

  • Ignatius Profile Picture
    Ignatius 30 on at
    RE: Rights Need to Send on Behalf of a Queue

    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.

  • Suggested answer
    Naveen Ganeshe Profile Picture
    Naveen Ganeshe 3,393 User Group Leader on at
    RE: Rights Need to Send on Behalf of a Queue

    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.

  • Suggested answer
    Abdul Wahab Profile Picture
    Abdul Wahab 12,070 Super User 2024 Season 1 on at
    RE: Rights Need to Send on Behalf of a Queue

    Hi Ignatius,

    The quick and easiest fix is to change 'Execute as' to The owner of the workflow

    pastedimage1674612528686v1.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans