question

RachaelCeciliaDsouza-4149 avatar image
0 Votes"
RachaelCeciliaDsouza-4149 asked RachaelCeciliaDsouza-4149 answered

Unable to delete folder using Delete activity in Azure Data factory

I have a folder structure as below in a blob storage container Main/ RunID/Folder1/ Folder 2/ data.csv

I have created a 'delete activity' in the data factory to discard the folder "Main"
91481-55.png


However, I keep getting an error of Failed to execute delete activity with data source 'AzureBlobStorage' and error 'The remote server returned an error: (409) Conflict. The remote server returned an error: (409) Conflict.'.

Please suggest a solution to overcome this issue.

Thank you


azure-data-factory
55.png (38.2 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @RachaelCeciliaDsouza-4149 ,

Welcome to MicrosoftQna and thanks for the ask .
when you say "discard the folder "Main"" , do you mean that you do want to delete that the main folder and delete everythinfg under that .

Thanks
Himanshu

0 Votes 0 ·

Hello @HimanshuSinha-MSFT

Thank you for the reply .

Yes, I want to delete the main folder and everything under it.


-Rachael

0 Votes 0 ·
HimanshuSinha-MSFT avatar image HimanshuSinha-MSFT RachaelCeciliaDsouza-4149 ·

Hello @RachaelCeciliaDsouza-4149,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .In case if you have any resolution please do share that same with the community as it can be helpful to others . Otherwise, will respond back with the more details and we will try to help .
Thanks
Himanshu

0 Votes 0 ·
HimanshuSinha-MSFT avatar image
0 Votes"
HimanshuSinha-MSFT answered

Hello @RachaelCeciliaDsouza-4149

Sorry for the delayed response , but I just respnded here

Thanks
Himanshu


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RachaelCeciliaDsouza-4149 avatar image
0 Votes"
RachaelCeciliaDsouza-4149 answered

Hello @HimanshuSinha-MSFT,

Thank you for the response.
I switched my data source from azure blob storage to gen2 lake and got this working.


Thank you


Regards,
Rachael Dsouza

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.