web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Connecting to on premi...
Power Automate
Unanswered

Connecting to on premise SQL with Powerapps: you don't have permission to view this data

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

When connecting to the SQL Server database, powerapps is able to retrieve the correct tables. Only problem is that when making an connection like an dropdown ,it shows an error in viewing the corresponding data.

 

The following runtine error is showing:

 

You don't have permission to view this data.

Server response: (table.name) 

failed: Permission Exception
inner exception:

Internal error: DataSourceCredentials

 

We are using an SQL on premise connection with a gateway and have access to both.

Anyone got pointers on how to solve this? Thanks in advance.

 

 

 

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,018 Most Valuable Professional on at

    Viewing the tables available requires permissions to the Master table in SQL, but viewing data inside the table requires permission for that table.  Check to make sure the account you used for the connector has permissions for that specific table inside SQL on-premises.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Unfortunately this shouldn't be the problem. The SQL connector has permission to view the data in the tables as well. The tables were made with the same account that is connected to the PowerApp. Could it be something in the gateway settings?

  • Pstork1 Profile Picture
    69,018 Most Valuable Professional on at

    There's nothing in the gateway settings that would affect this as far as I know.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I checked all the settings, but eventually deleting the connection and setting it back up, did solve the problem.

    Editing the connection did not unfortunately. Thanks for all the suggestions. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard