spencerstewart avatar image
0 Votes"
spencerstewart asked PRADEEPCHEEKATLA-MSFT commented

Cannot delete blobs from ADLS gen2 when connected via Private Endpoint


A colleague and I noticed that although we can list, view, and update blobs in an Azure Data Lake Storage Gen2 account, we cannot delete them when connected via a private endpoint and the default network access rule is set to "Selected networks"/Deny.

All actions work as expected when default network access rule is set to allow / "All networks".

Steps to reproduce:

  1. Create ADLS Gen2 account

  2. Create Private Endpoint connection, associated with a VNet, DNS, etc.

  3. Set the default network access rule for the ADLS Gen2 to deny.

  4. Create blobs in the account

  5. Attempt to delete blobs within the account

Error from Azure Storage Explorer / azcopy:

{ > "message": "\"failed to perform remove command due to error: cannot start job due to error: cannot verify resource due to error: -> > azcopy/v10/azbfs.newStorageError, /home/vsts/work/1/s/azbfs/zc_storage_error.go:41\\n===== RESPONSE ERROR (ServiceCode=AuthorizationFailure) =====\\nDescription=403 This request is not authorized to perform this operation., Details: (none)\\n HEAD\\n Authorization: REDACTED\\n User-Agent: [Microsoft Azure Storage Explorer, 1.20.1, win32, azcopy-node, 2.0.0, win32, AzCopy/10.11.0 Azure-Storage/0.1 (go1.15; Windows_NT)]\\n X-Ms-Client-Request-Id: [80fa79ef-8c51-4450-608e-62dbbf4eb47a]\\n X-Ms-Date: [Tue, 26 Oct 2021 14:46:20 GMT]\\n X-Ms-Version: [2018-11-09]\\n --------------------------------------------------------------------------------\\n RESPONSE Status: 403 This request is not authorized to perform this operation.\\n Date: [Tue, 26 Oct 2021 14:46:19 GMT]\\n Server: [Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0]\\n X-Ms-Error-Code: [AuthorizationFailure]\\n X-Ms-Request-Id: [7402d82d-301f-0030-1378-ca5e31000000]\\n X-Ms-Version: [2018-11-09]\\n\\n\\n.\\n\"" }

· 1
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 @spencerstewart,

Looks like you have already opened a support ticket on the same.

Currently, our support engineer is identifying the issue and get back to you soon.

Once the issue is sorted out with the support, please do share the resolution, which might be beneficial to other community members reading this thread.

1 Vote 1 ·

0 Answers