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 : f7xIhVngdXCaMjnAqB079u
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

I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,271 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

  • 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 ?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow
Loading complete