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 CRM (Archived)

Relevance search - "the search service is currently unavailable. try again later or use categorized search"

(1) ShareShare
ReportReport
Posted on by

When searching using the relevance search, instead of results appearing I get a message:

"the search service is currently unavailable. try again later or use categorized search"

No error log is produced.

Affecting all users.

Dynamics 365 Version 1710 (9.1.0.4231) Online April 2019 updates enabled.

This has been approx 24 hours now.

Issue is only present in the production instance. Sandbox works fine, and taking a full copy of Production also works fine.

RelevanceEd.PNG

*This post is locked for comments

I have the same question (0)
  • gdas Profile Picture
    50,091 Moderator on at

    Hi ,

    Make sure you configure Relevance Search -

    community.dynamics.com/.../dynamics-365-relevance-search-enable-and-set-up

  • Community Member Profile Picture
    on at

    Thanks, Relevance search is configured and enabled and stopped working suddenly.

  • Community Member Profile Picture
    on at

    Trace Log was taken for more information:

    HTTP/1.1 500 Internal Server Error

    Cache-Control: no-cache

    Allow: OPTIONS,GET,HEAD,POST

    Content-Type: application/json; charset=utf-8

    Expires: -1

    Server:

    x-ms-service-request-id: 6b6177e3-d7a2-4d61-82bc-c0702e5a3d0b

    REQ_ID: 6b6177e3-d7a2-4d61-82bc-c0702e5a3d0b

    AuthActivityId: 5f0efd84-c8de-4bf1-a06f-ef3040621d1d

    REQ_ID: 6b6177e3-d7a2-4d61-82bc-c0702e5a3d0b

    elapsed-time-ms: 360

    elapsed-time-ms: 360

    correlationid: 785af181-5e01-4c84-9172-5a7e48dc489a

    correlationid: 785af181-5e01-4c84-9172-5a7e48dc489a

    x-ms-ratelimit-burst-remaining-xrm-requests: 5991

    x-ms-ratelimit-time-remaining-xrm-requests: 1,199.15

    Public: OPTIONS,GET,HEAD,POST

    Date: Wed, 24 Apr 2019 11:10:29 GMT

    Content-Length: 2296

    {"Message":"ExternalSearch error occurred. Exception: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.\r\n   at System.Net.HttpWebRequest.GetResponse()\r\n   at Microsoft.Crm.ObjectModel.ExternalSearch.ExternalSearchProvider.<>c__DisplayClass10_0.<SendSearchRequest>b__0()\r\n   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)\r\n   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)\r\n   at Microsoft.Crm.ObjectModel.ExternalSearch.ExternalSearchProvider.SendSearchRequest(ExecutionContext context, InputParameters inputParams, SearchApiTelemetryStatistics searchTelemetry)","ExceptionMessage":"ExternalSearch error occurred. Exception: System.Net.WebException: The remote server returned an error: (500) Internal Server Error.\r\n   at System.Net.HttpWebRequest.GetResponse()\r\n   at Microsoft.Crm.ObjectModel.ExternalSearch.ExternalSearchProvider.<>c__DisplayClass10_0.<SendSearchRequest>b__0()\r\n   at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute[TResult](ILogger logger, EventId eventId, ActivityType activityType, Func`1 func, IEnumerable`1 additionalCustomProperties)\r\n   at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute[TResult](ILogger logger, XrmTelemetryActivityType activityType, Func`1 func)\r\n   at Microsoft.Crm.ObjectModel.ExternalSearch.ExternalSearchProvider.SendSearchRequest(ExecutionContext context, InputParameters inputParams, SearchApiTelemetryStatistics searchTelemetry)","ExceptionType":"Microsoft.Crm.CrmException","StackTrace":"   at Microsoft.Crm.ObjectModel.ExternalSearch.ExternalSearchProvider.SendSearchRequest(ExecutionContext context, InputParameters inputParams, SearchApiTelemetryStatistics searchTelemetry)\r\n   at Microsoft.Crm.ObjectModel.ExternalSearch.ExternalSearchService.NewExternalSearch(ExecutionContext context, SearchRequest searchRequest, String source, Boolean skipQuickFindFilterCriteria)\r\n   at Microsoft.Crm.Extensibility.SearchService.IndexesController.<>c__DisplayClass9_0.<ProcessSearchRequest>b__0()","ErrorCode":"0x80040216"}

  • Kokulan Profile Picture
    18,054 on at

    Are your Prod and Sandbox  on the same version or just the Prod has the latest?

  • Community Member Profile Picture
    on at

    Both are the same version. The Sandbox is an empty copy, but returns a "There are no results to display" rather than the "Service is not available"

    The full copy created in the support instance today is also the same version and the problem does not exist there either.

  • keerthic Profile Picture
    95 on at

    Hi Greg,

    I'm also facing the same Error("Service is not available") in my Sandbox instance. however, our Production instance Relevance Search is working fine.

    Let me know if we're able find the cause.

    Thanks

    Keerthi

  • Suggested answer
    Community Member Profile Picture
    on at

    Simply disabling Relevance search from System Settings and then enabling it again worked for me.

  • gdas Profile Picture
    50,091 Moderator on at

    Please close the thread if your issue got resolved by verifying  above helpful answers.

  • Suggested answer
    Community Member Profile Picture
    on at

    Goutam Das Sorry, I updated the thread to post my resolution, but i'm not able to mark it as an answer.

  • Suggested answer
    Mohan Kumar  Profile Picture
    90 on at

    Thanks Greg_, it worked for me after disabling Relevance search and re-enabling it again.

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans