Hi,

In CRM 2011, while sending an email programatically you may come across “User doe not have SendAsUser Privilage” exception.

(Refer useful article on How to send an email http://rajeevpentyala.com/2011/08/03/sending-an-email-using-crm-2011-plug-in/)

It would happen even all the security roles having this privilege (Refer below)

SendEmail Privilage
SendEmail Privilage

To fix the issue, solution is very simple

  • Open the SQL management Studio and connect to “orgname_mscrm” DB
  • Run below query
  • UPDATE UserSettings
    SET IsSendAsAllowed  = 1
    WHERE IsSendAsAllowed = 0

 

Refer below helpful article on the same

http://www.digital-transition.com/archives/2011/crm-2011-user-does-not-have-send-as-privilege/

Hope it helps 🙂

4 responses to “User does not have “prvSendEmail” privilage CRM 2011”

  1. Suresh Avatar
    Suresh

    Hi,

    Can you please let me know how to get the picklist text vale in crm 2011 plugins?

  2. ANELE Avatar

    This helped me a lot
    SELECT IsSendAsAllowed, *
    FROM UserSettings
    WHERE IsSendAsAllowed = 0

    Thanks

  3. Guess Avatar

    Dude, as always you are a savior !!!

Leave a Reply

Discover more from Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI

Subscribe now to keep reading and get access to the full archive.

Continue reading