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

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

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.
764 questions
{count} votes

1 answer

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

    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.

    No comments