KB3198261 - FIX: MDS business rule doesn't work if the Code value contains a leading space in SQL Server MDS Add-in for Excel

Work anywhere from any device with Microsoft 365

Upgrade to Microsoft 365 to work anywhere with the latest features and updates.

Upgrade now


Consider the following scenario:

  • You create a business rule in SQL Server Master Data Services (MDS).

  • You restrict the value of the Code attribute in the business rule to be a positive number only.

  • You publish a new entry in the MDS Add-in for Microsoft Excel.

In this scenario if the Code attribute contains a leading space, the attribute is invalid and the ValidationStatus column incorrectly displays Validation Succeeded. However when the data is refreshed, the ValidationStatus column correctly displays Validation Failed.


Update information

This issue is fixed in the following cumulative updates for SQL Server:

Cumulative Update 6 for SQL Server 2012 Service Pack 3

Cumulative Update 10 for SQL Server 2014 SP1

Cumulative update 3 for SQL Server 2014 SP2

Cumulative Update 4 for SQL Server 2016

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

Latest cumulative update for SQL Server 2012 SP3

Latest cumulative update for SQL Server 2014 SP1/SP2

Latest cumulative update for SQL Server 2016


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.