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 / Power Automate Flow Is...
Power Automate
Answered

Power Automate Flow Issue - "Get file metadata" failed

(0) ShareShare
ReportReport
Posted on by 4
Hi everyone,
 
I have a flow which has been running for a year now and out of a sudden, the flow has an error.
 
The error was : Get file metadata; file not found. 
 
This is what happens in the flow:

♦ Trigger: Starts when an applicant submits the form on Microsoft Forms.
♦ Get response details.
♦ Initialize Variable: Array Files to Email
♦ Initialize Variable: Array Files Approval
♦ Condition: Addition or Removal - response from Microsoft Forms
♦ Send emails: Notifies relevant personnel about the application submission.
♦ Approval: HOD to approve the application.
♦ Send emails: Notify backend team to process the application:
♦ Approval: Backend team to update application completion.
♦ Send emails: To notify the applicant and their HOD. 
 
What has failed :
Get file metadata, file not found.

What I've done so far:
♦ Double checked my Onedrive folder - File is there.
♦ Checked against my backup version - nothing is different.
 
Things to note:
I created the flow and transferred it to my superior and runs under my superior account but I'm the one managing it and the onedrive storage belongs to my work account. It has been running smoothly until this month when applications started failing. 
 
What could have caused this to happen and why does this error happen when the file exists?
 
Any help or suggestions would be appreciated! 
Screenshot 2.png
Screenshot 1.png
Categories:
I have the same question (0)
  • Verified answer
    Daniel Bocklandt Profile Picture
    5,151 Super User 2026 Season 1 on at
    Hey Zayden, 
     
    On the screenshots I see a get file content action just before the get file metadata. Does the get file content work?
     
    I created the flow and transferred it to my superior and runs under my superior account but I'm the one managing it and the onedrive storage belongs to my work account. 
    Is it the same with your backup version or does that one run only under your account?
     
    If not, try to recreate the different connections. Sometimes they expire and you have to recreate them to get a proper result. 
     
    Does it have a specific reason why the flow is using your OneDrive eventhough the flow runs under the account of your superrior? 
     
    It's better to use his OneDrive and best way is to even use a service account (not dependend on any user).
     

    If this solved your problem, please mark it as Solved to help others find the solution faster.
    If you found it helpful, consider giving it a Like to support each other in this community!

    Thanks, and happy building!

     
  • Michael E. Gernaey Profile Picture
    53,974 Moderator on at
    HI @Zayden
     
    @Daniel Bocklandt has some great points so I just want to add something else.
     
    Due to some changes recently, I would suggest you swap the order you are doing them in so you get the metadata first then the content as it can also happen due to a lock.
     
    And hehe @Daniel Bocklandt I was curious too... if the previous worked.
     
     
     
     
  • Zayden Profile Picture
    4 on at
     
    Yes, the get file content does work. It just fails at get file metadata. 
     
    I'm unable to test the backup version as the forms are still running, which may divert the applications to my account instead. But the backup version was the version I copied when the flow is running smoothly. 
     
    We do not have a service account, which I had proposed. 
     
    The email is required to be sent by my superior and unable to be sent by me, hence the flow was transferred. 
     
    Due to certain reasons, the OneDrive used needs to be mine.
     
    I changed the flow, removed get file metadata, used compose and it worked again.
     
    Thanks for the input!
     
    ***************************************************************************************************************************************************************************
     
     
    Thanks for the input! The changes of the connectors worked and its running smoothly now. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 639

#2
Valantis Profile Picture

Valantis 392

#3
11manish Profile Picture

11manish 350

Last 30 days Overall leaderboard