Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Error creating Incidents "CRM do not support direct update of Entity Reference properties, Use Navigation properties instead"

Posted on by 5

We are trying to use CRM api to create incident. we have data source but we are not able to process the request due to below errors. 

When we submit create a new incident using postman we get a response with the error "You should specify a parent contact or account"

pastedimage1678131611117v2.png

If we add the parameter CustomerId (name as "_customerid_value" in the list of incidents if you request this same method with a get protocol) , we get the error "CRM do not support direct update of Entity Reference properties, Use Navigation properties instead."

pastedimage1678138394763v4.png

After some research an article with a similar mistake shows an idea of how to solve the problem

pastedimage1678138629459v5.png

we try to set the CustomerId using the odata.bind but there is no "Customer" method to pass the id to get an object, we are not sure either if "_customerid_value" is the correct property to set the customer 

  • Suggested answer
    Guido Preite Profile Picture
    Guido Preite 54,081 Super User 2024 Season 1 on at
    RE: Error creating Incidents "CRM do not support direct update of Entity Reference properties, Use Navigation properties instead"

    you can use my tool Dataverse REST Builder to create the request, you can also export to Postman the request

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