web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to handle emails from users and external addresses(contacts)

(0) ShareShare
ReportReport
Posted on by

Hello

I need to build a solution where an entity is created automatically when a new email is received and fill some information in this entity about sender (contact or user). I prefer to handle all senders as contacts so not to create additional complexity. This is how I set fields in workflow and 'Requester' field is type of Contact

5127.Capture.JPG

The problem is that if we have a user and a contact with the same email address and workflow tries to set fields while a new entity is being created we get an exception 

The requested record was not found or you do not have sufficient permissions to view it.

Contact With Id = eb8945dd-284a-e711-8116-e0071b6ad151 Does Not Exist

Then I checked that Id and it turned to be a user with according email address although I have also a contact for this email address. So CRM prefers to treat sender as a user if it can find according one than as a contact.

What is possible solution in this situation?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    ashlega Profile Picture
    34,477 on at
    RE: How to handle emails from users and external addresses(contacts)

    Hi Sergey,

     I guess this discussion might be related:

    community.dynamics.com/.../159899

     You might probably add a condition to the workflow so that it does not run that step when there is a "user" sender. But if you actually wanted to change how tracking works.. Maybe a plugin on pre-create of incoming emails would do the trick (if "sender" is a user, look for a contact record with the same email and, if found, replace the sender).

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans