Forum Discussion

harrison_greene's avatar
harrison_greene
New Member
8 months ago
Solved

PowerBi to Redshift Authentication

Hi Everyone,

 

We are currently migrating our AWS data warehouse, and are struggling to create a working connection from Power Bi to Redshift that meets the following requirements:

- OAuth2.0 connection from Power Bi to Redshift

- Redshift RLS is enforced for end users, as we have sensitive data we don't want certain end users being able to see

- DirectQuery mode for data 

We are able to get an ODBC connection string from our serverless namespace, and also able to connect via user/pass (although this is not fit for requirements), but when we publish the report, and view it as a test user on Power Bi Service, either the report breaks, and no visuals can be displayed, or alternatively the test user can see all the data/visuals in the report, that they shouldn't have access to.

We don't want to rely on Power Bi side row level security ideally, but it is a fallback last resort option.

 

Any help is greatly appreciated!

 

8 Replies

  • Hii harrison_greene 

     

    Power BI Service does not support user passthrough authentication to Amazon Redshift. In DirectQuery, all queries run using a single dataset credential, so Redshift-native RLS cannot be enforced per end user this is why visuals either break or users see all data. OAuth 2.0 does not change this behavior. Today, the only supported and reliable option is to implement Row-Level Security in Power BI itself (or use pre-filtered Redshift views as a limited workaround).

  • v-lgarikapat's avatar
    v-lgarikapat
    Icon for Community Support rankCommunity Support

    Hi harrison_greene ,

     

    Thank you for reaching out to the Fabric Community Forum.

     

    cengizhanarslan , rohit1991  Thanks for your prompt response.

     

    harrison_greene I wanted to follow up to check if you had a chance to review the information provided by cengizhanarslan  and rohit1991  . If you are still facing issues, please don’t hesitate to reach out  we’ll be more than happy to assist you.

     

     

    Best Regards,

    Lakshmi.