Security and capacity
Separate identities and security layers
Direct Lake checks the effective source identity; by default this is the current user through SSO, while an explicitly configured connection can use a fixed identity. The semantic model owner also needs source read access for framing. On OneLake the effective identity needs the appropriate OneLake permission or security role; on SQL the endpoint permission path differs. Model RLS and OLS are additional controls, not substitutes for source authorization. A fixed source identity does not mean all viewers should see everything.
Design least-privilege access
For a model enforcing its own RLS, evaluate a fixed identity with only needed source access, then map viewers to model roles and restrict direct source access. OneLake security can apply source row and object restrictions for the effective identity in supported configurations. SQL endpoint security and endpoint identity mode can change fallback behavior; test separately. Do not rely on hidden fields or client filters as security. Viewer-level test identities must lack elevated model edit privileges. Avoid combining separate RLS/OLS roles as if they were a simple intersection.
Worked example 1 — prove positive and negative row cases
With a fictional fixed identity allowed to read both regions, model owner authorized and North/South viewers mapped to one region each, v2 North sees two lines and 17000 cents; South sees two and 13000; unmapped viewer sees no rows and a blank sum. The offline verifier uses explicit region sets, not actual DAX enforcement. Deny the source connection and predict query failure, not an empty authorized result. Confirm source access cannot independently reveal restricted data.
Worked example 2 — investigate capacity and object denial
A viewer requests a measure dependent on a restricted column. Predict that the native model may reject the query; test both metadata visibility and dependent measures under the effective role. A separate capacity issue prevents framing a large table; inspect actual capacity guardrails, file layout and metrics, reduce or reorganize data only with approved parity checks. OneLake cannot use SQL fallback to bypass these limits. SQL fallback, where supported, must still enforce effective security.
Release gates for a composite architecture
Document variant, supported source tables, endpoint identity mode, connection, owner, source ACLs, model role and capacity. Compare Import, DirectQuery and Direct Lake under the same fixed snapshot and effective role; test cross-source relationships and extension models separately. Require actual allowed and denied row/object queries, refresh evidence and native traces for fallback. Any unexpected access blocks release. Use a disposable authorized sandbox and bounded manual runs only; no live credentials in examples.
Practice and references
Create a verification matrix for both variants with source denied, owner denied, unmapped user, denied object and SQL fallback cases. Explain how to test independent access routes. See security integration, secured OneLake data, overview and storage. Next: PBIP and Git.