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

MrFlinstone 501 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.
2,733 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,470 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.
4,444 questions
0 comments No comments
{count} votes

Accepted answer
  1. Nehruji R 2,661 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.


1 additional answer

Sort by: Most helpful
  1. Amrinder Singh 2,690 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.