cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gumgih
Helper I
Helper I

Unable to Delete file - File is locked for shared use by me

Hi,

 

I have created a flow to read excel file from the Sharepoint site and push records into SQL Database, and after insertion, I want to delete the existing file from the SharePoint location. but getting error as "File is locked for shared use by me".

 

Attaching screenshots for the same. can anyone please help to load excel data via some other methods or resolve this error?

 

Thanks,

Mayank

 

error1.PNGflow.PNGerror.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
Johnnyg
Microsoft
Microsoft

Hello Gumgih,

From the error message, it seems that file is locked for shared use so you couldn't run the flow to delete file. 

Firstly, would you go to the Sharepoint site to check whether you have full permission for file deletion which should be the main cause. They you could directly access Sharepoint site for file deletion operation to check whether it would work.
Please raise an escalation if issue persists while you have confirmed full permission granted and file could be manually deleted from SP end.

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

View solution in original post

1 REPLY 1
Johnnyg
Microsoft
Microsoft

Hello Gumgih,

From the error message, it seems that file is locked for shared use so you couldn't run the flow to delete file. 

Firstly, would you go to the Sharepoint site to check whether you have full permission for file deletion which should be the main cause. They you could directly access Sharepoint site for file deletion operation to check whether it would work.
Please raise an escalation if issue persists while you have confirmed full permission granted and file could be manually deleted from SP end.

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

View solution in original post

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (89,194)