Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Search records created by other users

(0) ShareShare
ReportReport
Posted on by 445

Hi,

I am testing web api and when I use the below query, it is searching only the records under my account. How to search in organization level

api/data/v9.1/accounts?$select=name&$top=3

I have admin permissions.

Thanks.

  • Suggested answer
    Johnny Gong Profile Picture
    6,482 Moderator on at
    RE: Search records created by other users

    Good day Elangamban,

    The following mentioned API actually have already searched in organization level while the result will give first priority to the enentity records under current user by default.

    api/data/v9.1/accounts?$select=name&$top=3 

    You could remove '&$top=3' condition or use following query to confirm it:

    api/data/v9.1/accounts?$select=name&$top=10&$orderby=name

    More detailed data query API could be referred to following doc:

    https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/query-data-web-api

    Regards

    Johnny

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans