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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (18,066)