cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to mount the blob storage account as soft delete got enabled

SailajaB
Valued Contributor III

Hi Team,

when we try to mount or access the blob storage where soft delete enabled. But it is getting failed with below error

org.apache.hadoop.fs.FileAlreadyExistsException: Operation failed: "This endpoint does not support BlobStorageEvents or SoftDelete. Please disable these account features if you would like to use this endpoint.&#[34;, 409, HEAD]​ 

Can anyone suggest what is the actual issue and solution for this?

Thank you

1 ACCEPTED SOLUTION

Accepted Solutions

Kaniz
Community Manager
Community Manager

Hi @Sailaja B​ ,

As per the Managed identities for Azure resource authentication document:

 Note

  • If your blob account enables soft delete, system-assigned/user-assigned managed identity authentication is not supported in Data Flow.
  • If you access the blob storage through a private endpoint using Data Flow, note when system-assigned/user-assigned managed identity authentication is used Data Flow connects to the ADLS Gen2 endpoint instead of the Blob endpoint. Make sure you create the corresponding private endpoint in ADF to enable access.

To resolve this issue, you have a couple of options:

Option1: Disable the soft delete option

Screenshot 2022-02-25 at 4.51.34 AMOption2: Changing the linked service type for a source file from Azure Data Lake Storage Gen2 to Azure Blob Storage in the linked service.

View solution in original post

6 REPLIES 6

-werners-
Esteemed Contributor III

Jeez, I was planning on enabling soft delete on our adls gen2, but I think I will wait a while after reading this.

SailajaB
Valued Contributor III

Sorry. I updated the case..

Mount is working with ADLS gen2 soft delete. We tested that one

But the same is not working for blob storage soft delete.

-werners-
Esteemed Contributor III

Tnx for the heads up!

Kaniz
Community Manager
Community Manager

Hi @Sailaja B​ ,

As per the Managed identities for Azure resource authentication document:

 Note

  • If your blob account enables soft delete, system-assigned/user-assigned managed identity authentication is not supported in Data Flow.
  • If you access the blob storage through a private endpoint using Data Flow, note when system-assigned/user-assigned managed identity authentication is used Data Flow connects to the ADLS Gen2 endpoint instead of the Blob endpoint. Make sure you create the corresponding private endpoint in ADF to enable access.

To resolve this issue, you have a couple of options:

Option1: Disable the soft delete option

Screenshot 2022-02-25 at 4.51.34 AMOption2: Changing the linked service type for a source file from Azure Data Lake Storage Gen2 to Azure Blob Storage in the linked service.

SailajaB
Valued Contributor III

Thank you for the reply.

If blob storage got enabled with soft delete , we should use only AccessKey or SAS to do mount .

SP won't work

In ADLS Gen2 irrespective of soft delete option we can mount

Thank you

Kaniz
Community Manager
Community Manager

Hi @Sailaja B​ , If that solves your query, would you like to mark it as the best answer?

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.