how to give access to azure users to access server shared folder

IMAD BAALBAKI 0 Reputation points
2023-01-12T17:04:15.46+00:00

Hello

I have 10 computers with a windows 11 and microsoft office 365 business licenses .

when i tried to access shared folders from server using RUN and \servername or ip than it prompt me to add the user name and password of the server , after i added it , it prompt again to add the password , with no succeed .

knowing that if i access the server shared folder using local admnistrator it will connect with no problem .

Kind Regards

Imad Baalbaki

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,142 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Amit Singh 4,866 Reputation points
    2023-01-13T06:13:02.1733333+00:00

    There are a couple of methods you can use to provide access to users-

    1. Provide them Storage Account Access Key, and they can use it to access File Share with rights on all folders and subfolders.
    2. PowerShell connect script from Share to connect it will also persist and save creds to the user profile level, and they will not be asked to put credentials again and can access all the folders and files.

    Both methods are insecure as they contain a Storage account access key.

    Apart from that, you can use Windows Credential Manager. Whenever we are using PowerShell script to access Share, it saves credentials in Control Panel - Credential manager to persist it, which is user profile based, so if you want to provide access without sharing Access Key, then export this Credential Manager profile from one user and share with another one who can import it without getting information of Access Key.

    0 comments No comments

  2. Sumarigo-MSFT 43,001 Reputation points Microsoft Employee
    2023-01-30T12:52:02.0366667+00:00

    @IMAD BAALBAKI For better understanding the issue: Are you facing issue while mounting the Azure File Share?
    Can you, please share the screenshot of the error message?
    When exactly are you getting this error message?
    Please refer to the suggestion mentioned in this troubleshooting article: Troubleshoot Azure Files problems in Windows (SMB)
    If you are using AD credentials, please refer to the suggestion mentioned in this SO thread https://stackoverflow.com/questions/67185346/how-do-you-mount-azure-files-using-ad-credentials

    0 comments No comments