Endpoint does not support BlobStorageEvents or SoftDelete

Sundar Sriram Garimella 136 Reputation points
2022-05-11T12:41:20.907+00:00

I am facing the below error:

ADLS Gen2 operation failed for: Operation returned an invalid status code 'Conflict'. Account: 'lvavblobprod'. ErrorCode: 'EndpointUnsupportedAccountFeatures'. Message: 'This endpoint does not support BlobStorageEvents or SoftDelete. Please disable these account features if you would like to use this endpoint.'. RequestId: 'e2368a8e-101f-005d-6e33-657536000000'. TimeStamp: 'Wed, 11 May 2022 12:37:36 GMT'..
Operation returned an invalid status code 'Conflict'
Activity ID: d9627f0d-d2a7-40f2-998a-763372945bcc.

The storage is General Purpose V2 & I am having only few blob event triggers.

Then i tried disabling the Soft Delete for the blob storage which worked but then my delete activity is failing to delete the file from particular folder and facing the below error.

Failed to execute delete activity with data source 'AzureBlobFS' and error 'Operation returned an invalid status code 'Conflict''. For details, please reference log file here:

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,457 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,666 questions
0 comments No comments
{count} votes

Accepted answer
  1. MartinJaffer-MSFT 26,036 Reputation points
    2022-05-12T19:31:16.513+00:00

    Hello @Sundar Sriram Garimella and welcome to Microsoft Q&A.

    I see you are getting a rather frusterating error when you try to delete from a Data Lake Gen2. Then when you try the solutions implied in the error message, the situation does not improve.

    First, I think the message may be misleading. If you have Blob Event triggers on this account, then the account MUST support BlobStorageEvents. Therefore BlobStorageEvents cannot be the cause. Given how things didn't change when you disabled Soft Delete, that cannot be the cause either.

    In common with both errors, is the status code 'Conflict'. I went to the document page for the equivalent REST API call, and searched for "Conflict".

    https://learn.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/delete

    There are a number of possible causes, mainly centered around:

    • trying to delete something that is already in the process of being deleted or already is deleted
    • Leases
    • a mixed usage of blob api and data lake api.

    Let us verify it isn't the last one. Does your storage account have Heirarchical Namespace enabled? If yes, you should be using Data Lake Gen2 connector. If no, you should use Azure Blob Storage connector.

    Are you trying to delete a file or a folder/directory?

    If all else fails, I will make available a support ticket so engineers can look into the logs using the ActivityID. Let me know whether you have a support plan or not.

    4 people found this answer helpful.

0 additional answers

Sort by: Most helpful