Unable to take the ownership over Azure Files share

Matic Kutnjak 0 Reputation points
2024-07-22T08:08:06.4066667+00:00

Hi,

We are using Azure files with Identity-based access - Active Directory Domain Services (AD DS).

It is in use for quite some time, but recently we are facing issues with correcting permissions on subfolders. Everytime the users are added to specific folder, it is processing and correcting permissions, but at the end on certain files access is denied. I tried to take ownership but is also rejected "Failed to enumerate objects in the container. Access is denied".

With user I am operating on server, I am Owner and have NTFS elevated permissions on Azure Files. Additionally I am Admin/Domain admin on domain with the same user.

Connectivity is okay, since I am able to reach azure files normally.

I decided to take ownership on that folder with mounting share with Storage account key.

The issue here is that the mapping is successfull, but the drive is not visible. I tried different domain servers, disabled fw, check connection etc. Every time the same result.

Based on a whole situation I think I have to solve that mounting issue 1st in order to futher correct the permissions. How can I solve that mount issue?

I used connect scrcipt on azure files, and also net use X ... I event manually tried to add mapping with SA in Explorer. Evertime the same story. Now I am running out of idea...

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,301 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sumarigo-MSFT 46,446 Reputation points Microsoft Employee
    2024-07-23T09:14:18.98+00:00

    @Matic Kutnjak Welcome to Microsoft Q&A Forum, Thank you for posting your query here!
    It seems you're encountering a issue with Azure Files permissions and mounting the share with a Storage Account key.

    I would recommend you to contact support, so If you have a support plan, I request you file a support ticket, else please do let us know, It's better options for your scenario, It needs deeper investigation.

    Please verify if the user has the right permissions to the access the resource:

    Verify correct RBAC role on share.

    Verify the user has correct NTFS permissions to the resource.

    Verify the user has correct share permission to the resource.

    Please go through this document for more details: Configure directory and file level permissions over SMB Also go through the Troubleshooting guide: Troubleshoot Azure Files problems in Windows (SMB)

    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.

    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.