Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

The specified contact doesn't belong to the account selected as the customer. Specify a contact that belongs to the selected account, and then try again.

(0) ShareShare
ReportReport
Posted on by 40

Since June 11 we get next error when updating an incoming E-mail: "The specified contact doesn't belong to the account selected as the customer. Specify a contact that belongs to the selected account, and then try again."

This is the train of events:
1. an incoming mail is receieved from a watchdog service i.e. Kaseya
2. An incident is automaticly created from the E-mail. The E-mailaddress of that Kaseya service is linked to the account of our company. So the incident is created with our company is customer and the Kasey contact as contact.
3. The account on the incident is manually changed to the appropiate account
4. The contact on the incident is manually changed to the appropiate contact (or removed)

We have a custom field on the E-mail entity to monitor if the E-mail is read. Upon opening the E-mail form, a JavaScript makes a request to the Web API to modify this custom field. At this point we get the above mentioned error.
We first noticed it on June 11, for 2 days before it never happened (before June 9 we didn't have this error)

Strangly enough we don't get this error in our development environment which is a copy of the production environment from approximatly 3 weeks ago. I made a new copy of the production environment and the errors occur there.

Is there a way to bypass this check or is there another way to modify custom fields on these E-mails?

  • R. Verhoeve Profile Picture
    40 on at
    RE: The specified contact doesn't belong to the account selected as the customer. Specify a contact that belongs to the selected account, and then try again.

    Tried it, same result.

  • Suggested answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: The specified contact doesn't belong to the account selected as the customer. Specify a contact that belongs to the selected account, and then try again.

    Hi,

    Can you try updating the custom field from cutom action. Call custom action on form open event from javadcript.

    If found helpful, Please mark my answer verified.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 78 Super User 2025 Season 1

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 72

Overall leaderboard

Product updates

Dynamics 365 release plans