I need to configure a custom azure role which will give a user an explicit access to a file share ((with File Explorer). But the user shouldn't have access to the other services of the Storage service like blob storage, queue or tables. Currently with the following json file the user can see all sub-servives of the storage services.
{
"Name": "Storage explicit contributor access",
"Id": "-.......",
"IsCustom": true,
"Description": "",
"Actions": [
"Microsoft.Storage/storageAccounts/fileServices/shares/delete",
"Microsoft.Storage/storageAccounts/fileServices/shares/read",
"Microsoft.Storage/storageAccounts/fileServices/shares/write",
"Microsoft.Storage/storageAccounts/fileServices/write",
"Microsoft.Storage/storageAccounts/fileServices/read",
"Microsoft.Storage/storageAccounts/listKeys/action",
"Microsoft.Storage/storageAccounts/read"
],
"NotActions": [
"*"
],
"DataActions": [
],
"NotDataActions": [],
"AssignableScopes": [
"/subscriptions/....."
]
}
Generally, is it possible to restrict the access on the level?