Skip to main content

Notifications

Announcements

No record found.

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.

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
    R. Verhoeve 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
    Bipin D365 28,964 Super User 2024 Season 1 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

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