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 :
Finance | Project Operations, Human Resources, ...
Suggested answer

unable to access the the data in entity through Odata query.

(0) ShareShare
ReportReport
Posted on by 157

Hi all,

 

I have recently deployed a new development environment.I am using standard OData syntax to retrieve data i.e., [baseURL]/data .I can see all entities with IsPublic Property set to yes. Then to view details of all the customers I am using [baseURL]/data/CustomersV3 . I have customers in my environment but am unable to see any customer details through OData.

 

Do I need to do something to enable OData in my environment?

I have the same question (0)
  • Martin Dráb Profile Picture
    236,751 Most Valuable Professional on at
    RE: unable to access the the data in entity through Odata query.

    It likely means that you have customers in another company than the default company of the user executing the OData query.

  • Suggested answer
    Rahul Mohta Profile Picture
    21,032 on at
    RE: unable to access the the data in entity through Odata query.

    ensure customers are present in legal entity and also ensure running it from the right company

    if needed could use cross company

    http://[baseURI]/data/CustomersV3?cross-company=true

  • Suggested answer
    Martin Dráb Profile Picture
    236,751 Most Valuable Professional on at
    RE: unable to access the the data in entity through Odata query.

    I see that exactly the same question (copy & paste) was asked by your colleague in the Insider Program forum on Yammer and it's already answered, therefore it's good to update this thread and make clear that the problem has been resolved.

    To summarize it, you indeed have data in a different company and the accepted solution on Yammer is making a request to another company with /data/CustomersV3?$filter=dataAreaId eq 'USMF'&crossCompany=true.

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 753

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 752 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 534 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans