Loading...

Re: Execute DAX Queries REST API (Preview)

Re: Execute DAX Queries REST API (Preview)

kayu - what permission does the user passed in effectiveUsername need on the semantic model?Our setup: a service principal that is Admin of the workspace calls Execute DAX Queries with effectiveUsername and roles, on a Fabric-capacity model with RLS roles.

What we see:- The effective user is only a member of the RLS role, with no other access to the model: HTTP 200 with an error rowset, FaultCode 0xc114004c ("the database does not exist, or you do not have permissions").- The effective user has Read on the model: it works, and RLS filters the rows correctly (each user saw only their own region).- Adding Build made no difference.

So is Read on the semantic model the minimum the effective user needs, or is something else causing the error?

The API reference says "the user must have dataset read and build permissions", but it doesn't say whether "the user" is the calling service principal or the effective user. Could that be clarified in the docs?

Published on:

Learn more
Need help with this product?

We can help you with Re: Execute DAX Queries REST API (Preview)

If you want help implementing, troubleshooting, or improving this product, contact us and we’ll point you in the right direction.

All Power BI Updates Blog posts
All Power BI Updates Blog posts

All Power BI Updates Blog posts

Share post:

Related posts

Re: New Card visual in reports (Generally Available)

Conditional Formatting is still not working correctly on the Callout when using Categories. It evaluates the total overall value and applies i...

1 day ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.