ADLS Gen2 operation failed: Operation returned an invalid status code Conflict. Account: 'x' endpoint does not support BlobStorageEvents or SoftDelete

MrFlinstone 581 Reputation points
2024-05-09T00:21:35.9433333+00:00

Currently setting up a storage account for a synapse analytics workspace, there is an existing synapse workspace with a linked service to an azure storage account, When I tried to setup a similar configuration I get the error message below.

1

Here it doesnt work

2

If I disable soft delete for containers and blobs, the test connection functionality works, but the moment I enable it, it fails.

What worries me is this, within one of our other environments soft delete for containers and blobs is enabled and the connection works, setup with a managed identity, this was done over a year ago, but If I try to do that today with a new configuration it doesnt work. Not sure what i am supposed to do here.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,234 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,934 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,005 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nehruji R 8,151 Reputation points Microsoft Vendor
    2024-05-09T06:46:05.9333333+00:00

    Hello MrFlinstone,

    Greetings! Welcome to Microsoft Q&A Platform.

    The “Conflict” error indicates that there’s a conflict between the configuration you’re trying to set up and the capabilities of the storage account. Could you please double check if your storage type is General purpose V2? You can go to Storage account Settings and under Configuration section you can find these details. Please see below image for reference:

    123983-image.png

    Ensure that the managed identity associated with your Synapse Analytics workspace has the necessary permissions to access the storage account and verify that the managed identity is correctly configured and has the appropriate roles assigned (e.g., Storage Blob Data Contributor).

    If you still facing the issue I would recommend you to please give a try creating another General Purpose v2 storage account /ADLS Gen2 and share the results.

    Hope this answer helps! Please let us know if you have any further queries. I’m happy to assist you further.


    Please "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


2 additional answers

Sort by: Most helpful
  1. Amrinder Singh 5,155 Reputation points Microsoft Employee
    2024-05-09T02:10:44.12+00:00

    Hi MrFlinstone - Thanks for reaching out.

    The first account in the snippet appears to be an ADLS Gen2 account and you are using a DFS endpoint which will tend to work.

    The second account in the snippet appears to be a non ADLS Gen2 account and is a standard GPv2 account. You are using a DFS endpoint with that one and that particular combination along with soft delete isn't supported one and hence the failure.

    You can either use ADLS Gen2 account or you make use of blob endpoint i.e. AccountName.Blob.Core.Windows.net instead of DFS one.

    Please let us know if you have any further queries. I’m happy to assist you further.    


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

  2. Karan Tuteja 45 Reputation points
    2024-08-02T18:53:48.13+00:00

    Getting this error while using the sink option in data factory. I am trying to sink I am trying to select a folder in my storage account. User's image


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.