File Level Permission to Azure AD Users

Hector Gamboa 0 Reputation points

How to set file level permission to Azure AD Users?

I can set permission only parent directory but when I create folders inside, I cannot set to have a specific permission to a certain user/user.

I also have an error showing in AZURE:


Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,180 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tech-Hyd-1989 5,761 Reputation points

    Hello Hector Gamboa

    To set file-level permissions for Azure AD users, you need to use Azure Files, which is a fully managed file share service in Azure. Azure Files allows you to create file shares that can be accessed using the standard Server Message Block (SMB) protocol, and you can control access to these file shares using Azure AD credentials.

    Here are the steps to set file-level permissions for Azure AD users in Azure Files:

    Create an Azure file share: To create an Azure file share, you can use the Azure portal, Azure PowerShell, or Azure CLI. When you create the file share, you can specify the SMB protocol version and the access tier. You can also choose to enable encryption for data at rest.

    Create a directory structure: After you have created a file share, you can create a directory structure inside the share. You can create multiple directories and subdirectories as needed to organize your files.

    Set access control: To control access to your files, you can use the Azure portal, Azure PowerShell, or Azure CLI. You can add users and groups from your Azure AD to the access control list (ACL) for the file share or directory. You can also assign different permissions to each user or group, such as read, write, or full control.

    1. Assign permissions to files: To assign permissions to individual files, you can use the SMB protocol to connect to the file share from a Windows client or server. You can then set the file-level permissions using the standard Windows file permissions dialog.

    Note that the file-level permissions you set using the SMB protocol will be enforced by Azure Files. This means that users who do not have the appropriate permissions will not be able to access the files, even if they have access to the file share or directory.

    I hope this information helps you set file-level permissions for Azure AD users in Azure Files. If you have any further questions, please feel free to ask.

    Please don’t forget to Accept Answer and Yes for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments