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 / onedrive get file cont...
Power Automate
Answered

onedrive get file content when a file created not working with variable name

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

First day to power automation.

I tried creating a When a file Created trigger , to copy file from one drive to a share point folder.

When I tested the flow with a hardcoded file name , it worked all well , but when I used FileName as variable it shows me error.

Need help to understand what I am doing wrong, below is the snap of issue.

 

Thanks in Advance 

 

SharePointError.png

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,543 Most Valuable Professional on at

    If you are trying to copy the content of the file that triggered the flow why aren't you just using the File identifier that the trigger provides in dynamic content?

    image.png

  • ajdhingr Profile Picture
    Microsoft Employee on at

    @Pstork1 for sharing the solution.

    @Anonymous is the issue resolved ?

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 419

#2
Vish WR Profile Picture

Vish WR 314

#3
David_MA Profile Picture

David_MA 260 Super User 2026 Season 1

Last 30 days Overall leaderboard