Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Invalid parameter 'Exact match mapping only valid for Similarity scenario' while setting up Advanced Similarity Rules on Case

Posted on by 112

Hi, is anyone else having troubles setting up Advanced Similarity Rules on Case? 

I have a Case record with a few lookup Fields:

  • Case Category (lookup to a custom entity)
  • Case Subcategory (lookup to a custom entity)

In the Similar cases grid, I would like to show all cases who have the same values for these lookups. 

However, when I am trying to setup the rules, I am getting Errors on whatever I want to do (Out of the box Microsoft Plugins that throw errors)

blog.png

Exception Message: Message: Invalid parameter 'Exact match mapping only valid for Similarity scenario', Organization Id: 8dd2b150-ab68-47a5-a847-50262e8eed5d, Calling method: Microsoft.Crm.Analytics.AzureMachineLearning.TextAnalytics.TextAnalyticsEntityMappingService.ValidateMetadataForCreate, Error details: 'Invalid argument.'

ErrorCode: -2147220989
HexErrorCode: 0x80040203

ErrorDetails: 
	ApiExceptionSourceKey: Plugin/Microsoft.Crm.Analytics.AzureMachineLearning.TextAnalytics.TextAnalyticsEntityMappingService
	ApiStepKey: 026087a2-1c2b-4961-8d06-55c08ce3ad47
	ApiDepthKey: 1
	ApiActivityIdKey: 2ade36a5-9b3f-4b38-aa00-4ae787da1c0a
	ApiPluginSolutionNameKey: System
	ApiStepSolutionNameKey: System
	ApiExceptionCategory: ClientError
	ApiExceptionMesageName: InvalidArgument
	ApiExceptionHttpStatusCode: 400

HelpLink: http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException:80040203&client=platform

Activity Id: 50a5645b-f524-4b4c-be27-c4193aa3998d

On the Case Quick Find View of the Case entity, I've selected both lookup as "Find Columns"

blog2.png

We are on the following version:

Version: 2021 release wave 1 enabled
Server version: 9.2.21022.00133
Client version: 1.4.2267-2102.2
Is there anyone who can help us out? 
Thanks a lot in advance!

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Invalid parameter 'Exact match mapping only valid for Similarity scenario' while setting up Advanced Similarity Rules on Case

    Hi Sven,

    It seems so strange, I repeat your steps, there are no any error appears.

    pastedimage1615535547217v5.png

    pastedimage1615535588387v6.png

    pastedimage1615535653615v7.png

    Have you tried to use other lookup fields to do exact match, the same error has appeared or not?

    If only the case category lookup field has the error, maybe you can delete it and recreate new one.

    If the field has data that you can’t delete, you can create new lookup field and use workflow to copy value to new field automatically, then use new lookup field to do exact match.

    If all fields can’t do exact match, you can try to clear cache or use another browser to test again, if it still appearing the error, maybe you need open the ticket with Microsoft and ask for support.

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans