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 Apps / Sharing PowerApps to S...
Power Apps
Unanswered

Sharing PowerApps to Shared Users but they don't see the Data from SQL query flow - SQL Azure AD integrated

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

 I made Power app that uses SQL AD Integrated Connection . I made a flow that uses SQL query to Select all Accounts. I then use a button to make a collection that takes all the data and put it in Gallery  . Once I press the button  the power app shows all the Accounts in the database from the flow inside  Gallery . Once I share my app with colleague which they press the button they can't see the flow. it's brings up flow failed and the issues is ClientRequest issue . Anybody experienced this  and know how to handle this issue? it's like shared user can't see the SQL flow. 

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi

    You will find that most Flow actions will run under the context of the running the user. So I would imagine that when the other user comes to execute the flow, it fails as they do not have access to that SQL Data Source.

    I do know that certain connectors can be shared. So you may be able to go into your connections, share it with the necessary users and then it may execute.

    However your point may be that as you have gone for SQL AD Integrated, it should detect that the other user has access to the SQL Data Source also by way of their Azure AD account and that is what you are questioning?

     

    Also and taking a step back, does the flow at least run and do any actions complete, just not the SQL stage?

    I am also wondering that instead of getting the data by way of a Flow, could you not just tap into the data by way of a SQL connection in the Power App directly. Or are you trying to avoid premium features?

    Sorry for asking so many questions.

    Also would you mind sharing the error/warning message?

    Thanks

    Henry

  • CoolGuyBob Profile Picture
    Microsoft Employee on at

    Hi Henry ,

     

    No worries, I am happy your asking questions so thanks for responding 🙂 , 

     

    Yes the User "suppose" to get access with their  own Azure Ad account which they should see the flow's data when pressing the button . Yes the flow seems to run and completes but fails when the other User is pressing the flow's button .

     

    Yes the data could just tap through the SQL connection and the the other User can see the data that way directly  and even modify it.  but as requirement-test I am suppose to see if the User could only see the data through flow at the moment.  As far as the error Invalid column name ' '.
    clientRequestId: Number . 

     

    but when I press the flow I never get this issue at all. I am trying see if I could get the other Azure SQL Ad Integrated user to be able press button and just run simple Query flow so they can see the data 

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It is odd that it is explicitly complaining about a particular column too...When it works fine for yourself, so must be a valid query.


    Assuming the AccountID is just part of the Select columns to surface part of the statement and not used beyond. I would be interested to see if you dropped AccountId if possible, to see if it would then just complain about another column. That is more for my own intrigue though as in no way should it be doing this as far as I can tell.

    It might be a good way to go, to setup a Flow under the other users account, just with a simple SQL query against the same Database and Table, just to see if it might give you something more meaningful when they instigate it, which I think is what you were suggesting.

    Thanks

    Henry

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 224 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard