web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer Service forum

Contact entity web api query not working

(0) ShareShare
ReportReport
Posted on by 180

why does the below query not bring back any results?

https://xxxxxxxxxx.api.crm.dynamics.com/api/data/v9.0/contacts

whereas, it works fine for accounts xxxxxxxxxxxx.api.crm.dynamics.com/.../accounts

thanks!

Categories:
I have the same question (0)
  • Suggested answer
    Datadvancer Profile Picture
    on at

    Can you use your previous version,e.g  â€¦/api/data/v8.2/accounts to try again?

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    What happens if you directly got to the Contact entity? Do you see any contact records in CRM?

    If you have records and have read access then the data will return.

    Hope this helps.

  • CRMISKEY Profile Picture
    180 on at

    I tried with 8.2 as well, no luck.

    Ravi, I don't get any records even if i directly go to Contact entity. I have system administrator and system customizer roles though. any idea?

    thanks!

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    So this means either there are no contact records in the system or you do not have privileges to read contact records.

    Try creating a new contact record and see if it is visible. This will help isolate the issue if with permission or something else.

    Hope this helps.

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    Sys admin & sys customizer should have org level privileges so permission is not a problem. Hope they are not custom roles.

    Otherwise all the contact records you are looking for may be inactive. Verify in Inactive contacts view or advanced find.

  • CRMISKEY Profile Picture
    180 on at

    Hello Arun, Ravi, thanks for the great responses. I made the situation worse by changing the privilege from User level to Org level for system customizer role. Though I had both Sys Admin and Sys Customizer, System Customizer had only user level for the contact entity so i wanted to change it to Org level and try, now it throws an error right away if i navigate to contact view and also not letting me go back to security roles view to revert the permission back. any idea?

    Thanks!

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    Try to export & import the system customizer role from different environment through solution.

    Login with some other user who is having  Sys Admin & edit the role.

    Don’t play around those security roles. Share the error you are getting.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    if you have both sys admin & sys customizer then I don't think it will matter what permissions are on sys customizer because privileges in CRM works as cumulative (i.e. combined permissions from all the roles). Either you have remove the sys admin roles  for this user or something else has happened.

    As suggested above, you need to login with some other user with sys admin permissions to revert the changes.

    Hope this helps.

  • CRMISKEY Profile Picture
    180 on at

    Hi Arun,

    Thanks! i am getting this error when i navigate to Settings -> Solutions

    Error

    An error has occurred.

    Try this action again. If the problem continues, check the Microsoft Dynamics 365 Community for solutions or contact your organization's Microsoft Dynamics 365 Administrator. Finally, you can contact Microsoft Support

    so, i am not sure if i can import a solution that can fix this issue.

    Thanks!

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    You messed up the things already :) create a support ticket with MS to solve this issue.

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 > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans