cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Selva89
New Member

OneDrive - Move or Rename a file activity - The file id is not valid - Error

Hi,

 

I am trying to move files from one folder to another folder in the OneDrive business. 

 

Getting the error "The file id is not valid" when trying to populate file path using the dynamic variable, but it works fine if File Path is mapped directly/static. 

tempsnip.png

 

The dynamic file path variable is exactly the same as the static one.

 

Please advise me.

 

Thanks in advance.

 

 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
DamoBird365
Super User
Super User

Hi @Selva89 

 

I think, you are supplying a path for the file ID when you need the file ID.  There is a seperate action that allows you to supply the file path.  See below:

 

DamoBird365_0-1615663414867.png

 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


View solution in original post

5 REPLIES 5
DamoBird365
Super User
Super User

Hi @Selva89 

 

I think, you are supplying a path for the file ID when you need the file ID.  There is a seperate action that allows you to supply the file path.  See below:

 

DamoBird365_0-1615663414867.png

 

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


Thank you @DamoBird365 

I am having the same problem, I thought this will assist but i still have the error

@SethuElijah 

 

It would be best to open up a new call and explain your flow / error in more detail.

 

Damien

It working thank you

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,083)