Uploaded File in ADLS Gen 2 Account is not Visible.

geita naarang 0 Reputation points
2024-12-29T12:22:56.19+00:00

I have created ADLS Gen 2 account and then Container. In Container, I created 1 Directory. Now, When i am uploading CSV file or any file, i am not able to see the file in the directory. It says successfully loaded 1 blob but nothing is visible. I have refreshed 100 times.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,515 questions
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,301 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,006 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vinodh247 26,451 Reputation points MVP
    2024-12-29T13:41:48.52+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    • Ensure you have the appropriate access level (such as "Storage Blob Data Contributor") to view blobs in the container or directory.
    • If you're using Azure AD authentication, verify that your account has been granted the necessary role assignments at the correct scope (container or directory level).
    • If using SAS tokens, ensure the token has read (r) and list (l) permissions.
    • Verify that the file was uploaded to the intended directory. Sometimes, files might be uploaded to the root container instead of the subdirectory.
    • Use tools like Azure Storage Explorer or Azure Portal's "Search by Prefix" feature to locate the file.
    • The Azure portal interface might occasionally cache data. Clear your browser cache or try accessing the portal in incognito mode.
    • Use Azure Storage Explorer to access the storage account. It often provides a more reliable view of the storage hierarchy than the Azure portal, confirm whether the file is visible. If visible, it's likely a portal display issue.
    • Check if the uploaded file's name includes special characters or if it matches any filters (like search filters) applied in the portal interface.
    • If soft delete or versioning is enabled, verify that the file isn't in the deleted state. You can check this through the "Manage deleted blobs" option.
    • Enable storage diagnostics or use the storage account's monitoring logs to confirm whether the upload was successful. Check the Activity Log for any related errors.

    If none of these steps resolve the issue, consider re-uploading the file while monitoring the Storage Explorer or Azure Portal closely for any errors. If you still encounter problems, reaching out to Azure Support with the Activity Log details would be the next best step.

    Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.

    0 comments No comments

  2. Marcin Policht 30,985 Reputation points MVP
    2024-12-29T13:42:49.2+00:00

    Sometimes, a refresh in the Azure Portal or Storage Explorer may not immediately show the changes, even though the file is uploaded successfully. If you're using Azure Storage Explorer or Azure Portal, ensure you are navigating correctly into the Directory. The folder view in the Azure Portal sometimes takes a little while to update, especially for large or newly uploaded files.

    You can use the Azure Storage Explorer or Azure CLI to list the contents of the directory:

    Using Azure CLI:

     az storage fs file list --account-name <your-storage-account-name> --file-system <your-container-name> --path <your-directory-path>
    

    This command lists the contents of a directory within the ADLS Gen 2 container, which can confirm if the file was uploaded and is located in the correct directory.

    If the file appears in Azure Storage Explorer or CLI but not in the Azure Portal, the issue could be related to the portal’s refresh behavior.

    The tool you're using to upload the file might not be correctly placing it in the desired directory. Ensure you're selecting the correct directory when uploading the file. If you're uploading using the Azure Portal:

    • After selecting the container, navigate into the directory you created and ensure you're uploading the file into that directory.
    • Alternatively, you can try uploading using Azure Storage Explorer or Azure CLI.

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

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.