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 / Power Automate return ...
Power Apps
Unanswered

Power Automate return file to PowerApps for gallery display

(1) ShareShare
ReportReport
Posted on by 6

Hello Professionals, 

High-level: A power app that allows the logged in user to see only their data in an excel sheet. The sheet is stored in a SharePoint site but I don't want to give general access to see everything in the excel file.

 

I am trying have an automation that when runs will pull a file that is store in the users OneDrive and display it in a gallery.

 

I already have an automation from a service account that goes into the sheet takes just that users info out by id and stores it on their personal OneDrive but I cant get PowerApps to dynamically look in their OneDrive. I have tried to create an automation that returns the file id to the PowerApps on the push of a button but I cant get it to display in a reasonable format like a gallery.

Categories:
I have the same question (0)
  • developingteal Profile Picture
    392 on at

    I would work with a power automate that ties into your power app. Get user info -> get file from onedrive -> return file to pwoer app. Then use this statement as the item in the gallery, or use a button like you were before. 

  • Lofy Profile Picture
    6 on at

    @developingteal Can you give some example statement, this is what I have been trying to figure out?
    Should the respond to Power App send a get table, file ID, File Name, or something else?

     

    Lofy_0-1719933893553.png

    Lofy_1-1719933928450.png

     

    Lofy_2-1719933959660.png

     

  • developingteal Profile Picture
    392 on at

    Make sure to use office to get the user. I think you are having issues with pulling an actual file, and I think it is because the account attached is incorrect

  • Lofy Profile Picture
    6 on at

    I can see in the run history it finds the file and sends it to Power Apps. I don't use office to get the user because "List files in root folder" does that for me.

  • developingteal Profile Picture
    392 on at

    So is the data passing back to power apps correctly? Your issue would then lie with the display - which you mentioned before. If displaying the data is the issue give me a little more context. If it's a table something like a gallery would work, I just don't know what you are looking for

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 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard