1

In our small (6 people) company, we use Microsoft 365 to manage users and their MS Office licenses.

Users log in to computers using PIN code to an account configured in our company domain - a very simple setup with Microsoft 365.

We try to connect new Synology NAS to our computers as an SMB share, so I created a share and account in Synology system.

However, when I try to map a network drive, Windows asks for a PIN (like to a Microsoft account) and then says it can’t connect to this SMB share. I can choose to use a different account, but then Windows asks for email and password (while the SMB share requires username and password) and then says it can’t connect. I have tried giving both current logged in employee and also Microsoft 365 admin’s credentials - no change in behavior.

When I connect my private computer (that is not in company domain) to company’s WiFi I am being asked for username and password and everything works perfectly.

How to make Windows (on the company’s administrated PCs in domain) to display username/password login screen to SMB instead of asking me for email/Microsoft account? Or maybe we should reconfigure something in Microsoft 365 / AzureAD, to give privileges to this user (and workstation) to access this network resources? How to setup it up in a proper way? The simplest solution is most welcome.

I can reconfigure NAS any way I want because this is a brand new device.

1 Answer 1

2

I finally managed to solve the problem.

Option 1)

  1. Map a SMB share using Windows Explorer.
  2. System asks for domain credentials. Click More options instead.
  3. Select Different account.
  4. In username provide the following username: NAS-IP\NAS-account-username
  5. Provide NAS account password.

Example: If your NAS address is 192.168.1.200, NAS user account is JoeDoe and his password is qwerty123, the correct username is 192.168.1.200\JoeDoe

and the password is

qwerty123

Option 2)

You can also use CMD net use X: \\192.168.1.200/share-name /user:JoeDoe "qwerty123" assuming above NAS IP and user credentials.

Note that if you will open CMD with admin privileges, the drive won't show in Windows Explorer without changes in registry.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .