cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Dhiran
Helper III
Helper III

Copying to a Shared Drive

I am trying to build a simple flow that monitors my Outllok inbox for any maill from my personal email address and has attachments. If it does then the flow should run (which it does) and copy the attachment to the shared drive. 

 

I have connected the shared drive location and it was successful but the flow keeps failing. Any ideas?

 

flowerror.png

Dhiran

3 REPLIES 3
v-xida-msft
Community Support
Community Support

Hi @Dhiran,

 

Could you please share a screenshot of your "Copy file" action's configuration?

The error told that there is a invalid input parameter in "Copy file" action.

I don't think "Copy file" action could achieve your needs, please consider take a try with the following workaround:

  1. Add "When a new email arrives" trigger.
  2. Add "Apply to each", input parameter set to output of above trigger.
  3. Add "Create file" action, specify Folder path.

Image reference:9.JPG

 The flow works successfully as below:10.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-xida-msft(Kris),

 

I have tried this and the local copy to personal pc works, so thank you, but I would like to copy this to a mapped drive on my pc or even a UNC path name but  both show an error when trying to select the filesystem of invalid credentials.

 

invalid_credentials.png

 

Dhiran 

Hi @Dhiran,

 

The error message told that you don’t have access to the folder with the credentials that you provided for the connection. Please check if you have provided a proper credentials for the connection to File System connector.

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,377)