Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

REST API returning 404 error for Opportunity and Lead entities in MS Dynamics 365

Posted on by 5

Hello,

I am currently encountering an issue while using the REST API in MS Dynamics 365 (v 9.2) to retrieve entities. Specifically, whenever I attempt to retrieve the Opportunity or Lead entities, I consistently receive a 404 error. Additionally, I have noticed that the Opportunities and Leads entities are not present in the list of all entities under EntityDefinitions.

 

Example: 

GET: https://my_domain.crm4.dynamics.com/api/data/v8.2/opportunities

Response: 

Status: 404

Body: {/error/:{/code/:/0x80060888/,/message/:/Resource not found for the segment 'opportunities'./}}.

 

As far as I know, it is not possible to delete system entities in MS Dynamics 365. I have also experimented (using personal account) with limiting the user's privileges (permissions) to see these entities, but that only leads to a correct 403 error being returned.

Unfortunately, I do not have access to the MS Dynamics 365 control panel and can only use API. I would greatly appreciate any insights or suggestions regarding the possible cause of this issue. Could it be related to the system entities being somehow hidden or inaccessible? Is there a possibility of deleting system entities in MS Dynamics 365 despite the limitations?

 

Thank you for your assistance!

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans