web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : d5yJNkceVHJ1CsIxiRLo3E
Power Automate - Using Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 21 Mar 2021 20:11:39 by

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

  • ajdhingr Profile Picture
    Microsoft Employee on 22 Mar 2021 at 03:41:59
    Re: onedrive get file content when a file created not working with variable name

    @Pstork1 for sharing the solution.

    @Anonymous is the issue resolved ?

  • Verified answer
    Pstork1 Profile Picture
    67,176 Most Valuable Professional on 21 Mar 2021 at 20:16:39
    Re: onedrive get file content when a file created not working with variable name

    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

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete