cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MarvinBangert
Responsive Resident
Responsive Resident

Stop using shared sql server credentials

Hey everyone, 

 

I created a Power Apps app in Power BI which gets data from an On-Prem SQL Server (using a gateway). If I share this Power BI Report and App (you need to share both so users could access them), I also have to share the SQL Server connection with the users/org (Permissions: "Can use") so they have access to the database. My SQL Server authentication type is "Windows Authentication". I used Row Level Security (RLS) within Power BI to only show specific entries to the users and this filter is also applied to the Power Apps app within the Report.

 

Following question: Because the SQL Server connection is shared with the whole organization, everyone could just create a new app in Power Apps and use this connection to access all items within the database (filtering is not applied). Is there a way to stop users from using this connection within other apps or to configure the connection that users are using their credentials?

 

P.S.: I don't use Azure AD Connect (AADC) in this scenario, my users are cloud-only and I created a test environment within an Azure VM. Is there maybe a way to pass authentication using AADC?

 

Thanks in advance!

0 REPLIES 0

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (54,334)