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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error while displaying...
Power Apps
Unanswered

Error while displaying data from SQL Views/Table to SharePoint Integrated PowerApps

(6) ShareShare
ReportReport
Posted on by 12

Dear Community,

 

I am currently facing an issue with a canvas application developed within a PowerApps solution (SharePoint based customized form).

 The application relies on SQL Server connections as its data sources, where we want to display the data in PowerApps gallery and forms (using SQL Views/Tables as data source).

 

The problem arises after successfully publishing the app. It throws the below error for the end users:

 

"Error when trying to retrieve data from the network: Error from token exchange: Permission denied due to missing runtime policy ACL: User = cac5b1d0-b2e5-45bf-84d5-ce451e46b524@46e16835-c804-41de-be3c-55835d14dee4 appid=9362bc14-3e81-4ef9-8b77-f1c40afe68e0, runtimePolicy=europe-001/sql/40abe139-5f46-4145-8b50-7d990116a8e5"

 

Screenshot of the PowerApps error (This is the share point integrated PowerApps - customized form)

ChethanM_0-1704784866193.png

 

 

 

To address this issue, please find the below observations and implementations:

 

  • Granted access to end users for SharePoint list where app is linked - Did not work
  • Cleaned up the data sources and Reconnected the SQL table/View connections - Did not work.
  • Created a replica of the same app as stand-alone app  - Works only for stand-alone app not the Sharepoint integrated app(NOTE: we are facing issue for Sharepoint integrated power app)
  • Only owners of the application are able to see the data without any error - Not the end users
  • Shared SQL connection to users within PowerApps - Did not work

 

 

Despite these measures, am still facing the issue.

I am seeking guidance from this esteemed community to help me resolve this issue. Any insights, suggestions, or potential solutions to troubleshoot and overcome this problem would be greatly appreciated.

 

Thank you in advance for your invaluable support.

 

Best Regards,

Chethan M

Categories:
I have the same question (0)
  • JS-24071949-0 Profile Picture
    3 on at
    Hi Chethan,
     
    Have you managed to find a solution to the SQL Server connection issue?
    I started getting exactly the same error message on my development environment last week. After re-publishing the App it was working again for me but end-users are still experiencing the same connection issue and error message.
     
    Best regards
    Jottie
  • BS-26111726-0 Profile Picture
    2 on at
    Checking to see if anyone has a solution to this, I started running into this issue with some end users while others have no problem.

    My app is connecting to SQL Server on-premise and synapse, I checked with the monitor and tables to both server are throwing this error "Error when trying to retrieve data from the network: Error from token exchange: Permission denied due to missing runtime policy ACL"

     
  • smatthews01 Profile Picture
    4 on at
    We had this issue for our Azure Blob, issue wasn't present in Dev or UAT and only happened when pushing to production. The fix in the end was to untick the 'preload app for enhanced performance' in the settings of the app. 
     
    Seems like the App & authentication has a mismatch as one was being preloaded after a deployment.
     
    Hope it helps someone.
     
    image (3).png

    Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard