Search code examples
azurevirtual-machineazure-storageazure-file-share

Unable to Add Users/Groups in file security permissions on Azure File share


looking for help! I have created an Azure VM & a file share(R) under storage account and mounted it to my local and VM , Now when I'm trying to add users or groups in file permissions(security tab) Getting two error popups as mentioned in the below screenshot.

popup message 1: The program cannot open the required dialog box because it cannot determine whether the computer named "xyz" is joined to a domain"

imediate popup message 2: Unable to display the user selection dialog, The RPC server is unavailable.

enter image description here

Note : I am having a similar file share(z) attached to my local and other VM in different resource group which if perfectly working fine as it's allowing to add users and edit permissions

Thanks in advance.

Troubleshootings tried:

  1. Removed VM from my domain and added again 2: ipconfig /flushdns.

Solution

  • I tried to reproduce the same in my environment and got the same error like below.

    enter image description here

    To resolve this issue:

    • Click on security -> Advanced

    enter image description here

    • Click on Owner tab-> Advanced

    enter image description here

    • Click Find Now, check your current user account and select your user account from the list. Check the full control to allow and click yes if any security warning appears.

    enter image description here

    • Now, open file explorer -> select More > Map network drive in that folder if you network type name is STORAGE-1234 and the folder name is Imran. Make sure to change like this \\STORAGE-1234\Imran

    enter image description here

    • In start bar, type Run -> services.msc -> select -> windows firewall -> disable. In the event if you are prompted for administrator password or confirmation, enter your password or choose Continue.

    enter image description here

    • Click start-> Control panel -> Network and internet -> Network and sharing center-> Change advance sharing setting -> click on Public network and allow like below.

    enter image description here

    If you are still facing The RPC server is unavailable. Please check this reference: Ref1 & Ref2