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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

Using Dataverse Search with application user -- getting 500 and 400's

(0) ShareShare
ReportReport
Posted on by 20

I'm trying to utilize the Dataverse search api for an externally hosted web app connected to dataverse. The web app uses an application user to interact with Dataverse, but when I POST a search request, it always gives me a 500 error on the v1.0 endpoint, and 400 error on v2.0 endpoint. I'm following the documentation here: 

docs.microsoft.com/.../relevance-search

This is how my query to Dataverse for the search looks:

https://{orgname}.api.crm.dynamics.com/api/search/v1.0/query?search={searchTerm}

The headers of the request has the token from CRM.

Thanks for any guidance--- I think I'm missing something here. Googled a bunch online and couldn't seem to find much material for how to interact programmatically with the search API.

I have the same question (0)
  • Suggested answer
    Mildsevenintl Profile Picture
    20 on at

    Needed to post the params in the body, and get rid of the query params in the URL.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Mildsevenintl,

    Thanks for sharing your solution.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
#ManoVerse Profile Picture

#ManoVerse 93

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 62 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans