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 Apps and Power A...
Power Apps
Suggested Answer

Power Apps and Power Automate with OneDrive for Business

(1) ShareShare
ReportReport
Posted on by 4
Hello,
 
I'm trying to trigger a flow from PowerApps, while using OneDrive for Business within the Power Automate flow. I'm using Extract archive to folder along with Get file content, both of whom work brilliantly when activating manual tests directly in Power Automate. The issue arises when calling the flow from Power Apps. The parameters are passed correctly and the file paths are given relative to the OneDrive folder location, but it isn't able to find it. The error code is a basic 404.
 
Thanks for all help!
 
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi,
     
    So it definitely is getting wrong information or it would just work. So what we want to do is this
     
    1) You said it works manually, but that means you are typing IN values for those parameters.
    So you want to find a run that you did manually and that it worked.
    Open up those actions and validate the inputs and outputs
     
    2) then go to a run that came from the canvas app.
    open those actions and grab the inputs and outputs
     
    Compare the two
     
    Simple solution to find the problem.
  • AU-10101056-0 Profile Picture
    4 on at
    I don't know how to respond directly to your suggestion, so I'll post it here. Thanks for your answer, but that was my first thought. From my relatively untrained eye it seems to be more of an issue with OneDrive than anything else. Underneath I've pasted the inputs from both runs where the top run is a failed one, and the bottom one is a failed one. The only difference I can spot is the connectionReferenceName and I'm not sure what that means.
     
    Unsuccessful:
    {
        "host": {
            "connectionReferenceName": "shared_onedriveforbusiness_1",
            "operationId": "ExtractFolderV2"
        },
        "parameters": {
            "source": "\\Documents\\Innovation\\A&D_test\\test.doc",
            "destination": "\\Documents\\Innovation\\A&D_test\\test\\temp",
            "overwrite": true
        }
    }
     
    Successful:
    {
        "host": {
            "connectionReferenceName": "shared_onedriveforbusiness",
            "operationId": "ExtractFolderV2"
        },
        "parameters": {
            "source": "\\Documents\\Innovation\\A&D_test\\test.docx",
            "destination": "\\Documents\\Innovation\\A&D_test\\test\\temp",
            "overwrite": true
        }
    }
  • AM-17100343-0 Profile Picture
    4 on at
    I'm seeing similar issue with my flow, "OneDrive - Get File Content" action suddenly failed and the difference that I can see is "shared_onedriveforbusiness" when the flow successful and "shared_onedriveforbusiness_1" when the flow fails.

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard