Error when you use SecurityFilteringBehavior enumeration in SQL Server 2016 Analysis Services


Assume that you use Tabular Model Scripting Language (TMSL) to manage tabular databases in an instance of SQL Server 2016 Analysis Services. Also assume that you set the SecurityFilteringBehavior as Both, and the relationship's From Table option has the RLS condition set. In this situation, you receive an error message that resembles the following:

Table 'Table_Name' is configured for row-level security, introducing constraints on how security filters are specified. The setting for Security Filter Behavior on relationship 'Relationship_Name' cannot be Both.


The fix for this issue is included in the following cumulative update for SQL Server:

About cumulative updates for SQL Server
About cumulative updates for SQL Server


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


Learn about the terminology Microsoft uses to describe software updates.

Article ID: 3183440 - Last Review: Sep 22, 2016 - Revision: 1

Microsoft SQL Server 2016 Developer, Microsoft SQL Server 2016 Enterprise, Microsoft SQL Server 2016 Enterprise Core