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 Automate / The resource could not...
Power Automate
Answered

The resource could not be found 404 > While getting Excel file content / table from OneDrive business in Automate flow

(0) ShareShare
ReportReport
Posted on by 12

My Requirement is - To create a flow which will send email with Excel file as attachment to someone, once a order is created in power apps UI. That attachment XLSX file should have a table and its data.
Two ways I am following to make this -

1] Kept a Excel file with a empty table in OneDrive and and from the power apps, saving the data to that table and then calling a flow , which will pick that file and send an email with attachments of that file.
2] Created a flow (which accepts order data as input from power apps ) which will make Excel file on fly> then creating table dynamically > adding the data to that table > and sending email that file as attachments to destination

 

In both case above, getting the expected output but only in my login as I am flow owner. And for other user login both kind of flow are giving the error. "resource not found/item not found"

For 1# case-I am getting the flow error while I try to get the file content. Although the Excel file already is kept in the OneDrive.
And this error does not happen for myself as I am flow owner but for other user it happens.

BPP_P_0-1655184020654.png

For#2, Getting the below error here I am making the Excel file on a fly to login user's OneDrive.

BPP_P_1-1655185552215.png

 

I was trying in both ways, as it is an urgent requirement. So when the #1 did not help me I went for #2.
But none of my above ways is working. It works only for my login as I am flow owner.
Could somebody help me here, to fix this issue.
So that in other's login, no error should come.

Categories:
  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @BPP_P ,

    That's because the other users don't have access to the same Excel file. The One Drive - Get File Content action search the file inside Onedrive of the action caller, so the action doesn't look for the file in your OneDrive. 

    You need to change the logic of the flow, and instead using OneDrive to host the Excel file use Sharepoint and be sure that each other users have access to the file. 

    Hope it helps !

  • BPP_P Profile Picture
    12 on at

    @gabibalaban 
    Thanks for your quick help.🙏
    Let me go ahead with SharePoint way.
    So for this SharePoint approach, do I need to add the end users under "Run only users" inside to flow? And is it required to share the SharePoint folder to the end user? As the flow program would add/edit file under the SharePoint folder.

  • Verified answer
    CU-18081211-6 Profile Picture
    9,272 Moderator on at

    No … you have to be sure that the users have the read/write rights in SharePoint folder / file.

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 Automate

#1
11manish Profile Picture

11manish 298 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard