I have a flow that is triggered from a PowerApp when a button is clicked. It uploads a file to a SHARED folder. The flow runs and succeeds, but it doesn't use the shared folder, it creates that same folder for each user. How do I pass in the full path name of the shared folder so it understands where I want it to go. If I created the shared folder and name it FOO, then share it with 10 other users, the Flow creates a FOO folder for each user instead of using the originally shared FOO folder. I need all the files uploaded with the flow to go to one folder that everyone can get to and use. What am I missing
Thanks in advance for any and all help - I am really stuck and this project depends on this being resolved. I need to make OneDrive Business work and not a different storage solution.
hi @Wiese please share us an screanshot 🙂
Proud to be a Flownaut!
The very first flow that exhibits this behavior is the one that retrieves the list of existing filenames. It looks at each user's own OneDrive and not the Shared Folder.
From PowerApps, I call the flow with this code:
Set(FileNames,GetFileNamesFromOneDrive.Run(SearchPath).filenamestring)
SearchPath is a variable that contains the name of the Shared Folder
Hello @Wiese
This is happening because:
When having a Flow with PowerApps trigger.
All the connections that get used are being used by the person that triggered the Flow inside PowerApps.
Proud to be a Flownaut!
That makes sense... how can I pass in the path of the Shared Folder so that it is using the correct folder?
Is the path name in the link that is sent to the user that it gets shared with? That link looks like this:
I an afraid my suggestion is posted one and a half year later...
Anyway, I believe that if you concatenate two flows, you can get what you are looking for. So th first flow has PowerApps trigger, and it calls a second flow by means of an HTTP request.
The second flow runs in your Power Automate Account, it is triggered when an HTTP request is received, and it is in charge of storing the file in your shared folder.
Hope this helps
Proud to be a Flownaut!
User | Count |
---|---|
88 | |
39 | |
23 | |
20 | |
16 |
User | Count |
---|---|
127 | |
49 | |
46 | |
34 | |
25 |