Skip to main content
Answer

Backup for M365: unable to add repository via SMB

  • February 9, 2024
  • 25 comments
  • 1557 views

Running Veeam Backup for M365 v 7.1.0.1501 on a Windows Server 2002 Standard VM (the VM is AD joined) and trying to create a backup repository on an SMB shared folder on an AD joined NAS on my LAN, and I'm unable to add the repository.

 

In Veeam, if I go:

 

"Repositories > Add > Backup to Local Disk > Path"

 

...then enter the path to the SMB shared folder on the NAS ("\\NAS-NAME\SHARE-NAME\FOLDER-NAME"), I can click "Get free space" and Veeam calculates the correct amount of free disk space (so it seems to be able to see the NAS), but if I click "Next" to add the repository, I see:

 

"Specified folder does not exist on the backup proxy. Do you want to create it??

 

If I click "Yes" I get the error: "Access to the path "\\NAS-NAME\SHARE-NAME\FOLDER-NAME" is denied."

 

I'm able to browse the share in Windows explorer and browse to the folder I'm trying to add.

 

Veeam is installed on an AD joined VM, and I'm using Windows (AD) credentials to log into Veeam console when it starts up. I've checked the permissions on the shared folder and all subfolders, and "Full Control" is enabled on all for the account I'm using. I'm logged into Windows using same account (AD) I use to log into Veeam.

 

And ideas what I may be missing?

Best answer by monkthecat

Update: I opened a case with support, and learned that the permissions on the NAS need to be granted to the Veeam server (not the Windows user account used to log into the NAS or the Veeam server). As indicated in “Scenario 1” in the below linked article. Looks like iSCSI is the strongly recomennded config, but SMB NAS is now working.

 

https://www.veeam.com/kb2971

25 comments

Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 9, 2024

It looks like you need to just specify the shared folder and not add the “FOLDER-NAME” to the path.

See here - Network Attached Storage (SMB Shares) - Veeam Backup for Microsoft 365 Guide


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 9, 2024

Also something to note on that page above -

Keep in mind that Network Attached Storage repository is on experimental support.


  • Author
  • Not a newbie anymore
  • February 9, 2024

Hey Chris: I have tried that, I get the exact same error (but without the added folder name of course)


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 9, 2024

The other thing to check would be permissions - yes, I know you said you configured them but a double-check is always good.

Otherwise, you could possibly try a mapped network drive on the Proxy server for VB365, but this is not a recommended method either.

Last thing is Support and opening a case.


  • Author
  • Not a newbie anymore
  • February 9, 2024

Thanks for the tips Chris, I appreciate it. I just checked permissions again, and they all look good (I can browse to the folder via Win explorer, logged into Windows as the same AD account I use to log into Veeam.)

I have the shared folder mapped as a network drive, but it does not show up under the Veeam host if I click “Browse.”


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 9, 2024

So then network mapped drives don’t work and it wants local drive.  So, at this point I would suggest a support ticket if you really needed to get this working.


  • Author
  • Not a newbie anymore
  • Answer
  • February 13, 2024

Update: I opened a case with support, and learned that the permissions on the NAS need to be granted to the Veeam server (not the Windows user account used to log into the NAS or the Veeam server). As indicated in “Scenario 1” in the below linked article. Looks like iSCSI is the strongly recomennded config, but SMB NAS is now working.

 

https://www.veeam.com/kb2971


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 13, 2024

Glad to hear you were able to solve the issue and post the answer to help others.


  • Author
  • Not a newbie anymore
  • February 13, 2024

Glad to hear you were able to solve the issue and post the answer to help others.

Thanks Chris, appreciate your replies to help guide in the right direction.


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • February 13, 2024

Glad to hear you were able to solve the issue and post the answer to help others.

Thanks Chris, appreciate your replies to help guide in the right direction.

Not a problem.  That is what we are here for.  😉


dloseke
Forum|alt.badge.img+8
  • Veeam Vanguard
  • February 15, 2024

Thanks for posting your answer...I would have not considered granting permissions to the server rather than a user.  Good information to know.  The think I probably would have done differently is connected to the NAS via ISCSI rather than SMB so that it appeared as a local volume and I didn’t have to mess with SMB permissions, etc.  Glad you got it working though.


  • New Here
  • January 15, 2025

Hi,

I have the same problem trying to add SMS repository shared from Synology NAS. I follow your solution but return “username and password is incorrect”.

The NAS and Veeam server are in the same domain. I add permission to the veeam server for the shared folder, and for the user used to login in veeam. 

 

I have other backups copies in the volumen NAS, so the iSCSI solution for me, is not an option. 

 

Please any idea, maybe I’m ignoring something.

Thanks


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • January 15, 2025

Hi,

I have the same problem trying to add SMS repository shared from Synology NAS. I follow your solution but return “username and password is incorrect”.

The NAS and Veeam server are in the same domain. I add permission to the veeam server for the shared folder, and for the user used to login in veeam. 

 

I have other backups copies in the volumen NAS, so the iSCSI solution for me, is not an option. 

 

Please any idea, maybe I’m ignoring something.

Thanks

Did you read the solution?  It mentions granting permissions to the Veeam Computer Account not user.

permissions on the NAS need to be granted to the Veeam server (not the Windows user account used to log into the NAS or the Veeam server). As indicated in “Scenario 1” in the below linked article

https://www.veeam.com/kb2971


AndrePulia
Forum|alt.badge.img+9
  • Veeam Vanguard
  • January 15, 2025

Hi ​@Winsys Seens to be permission as well, wuold you mind to double check the permissions? just in case.

 


  • New Here
  • January 15, 2025

Hi Chris, 

 

Thanks for your quick reply.

 

Yes I do that.

 

I give permissions in the shared folder to my Veeam Server. 

 

 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • January 15, 2025

Hi Chris, 

 

Thanks for your quick reply.

 

Yes I do that.

 

I give permissions in the shared folder to my Veeam Server. 

 

 

Ok then it should work.  Maybe ​@monkthecat can explain and help you out more.

 
 
 

AndrePulia
Forum|alt.badge.img+9
  • Veeam Vanguard
  • January 15, 2025

@Winsys The permission listed up above is for the VCN adm, , how it is for the IT-Veeam?


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • January 15, 2025

@Winsys The permission listed up above is for the VCN adm, , how it is for the IT-Veeam?

If you read the answer to the thread you need to grant permissions to the Veeam Server (not user account).  The KB posted details this out.


  • Author
  • Not a newbie anymore
  • January 15, 2025

@Winsys: ​@AndrePulia is right: have a look at your screen grab, you have “CVN Admin” selected, be sure you click “IT-VEEAM12” (looks like that’s the name of your Veeam server), and make sure permissions are correct there.


AndrePulia
Forum|alt.badge.img+9
  • Veeam Vanguard
  • January 15, 2025

@Winsys: ​@AndrePulia is right: have a look at your screen grab, you have “CVN Admin” selected, be sure you click “IT-VEEAM12” (looks like that’s the name of your Veeam server), and make sure permissions are correct there.

@monkthecat Thank you!!


  • New Here
  • January 16, 2025

Hi everyone,

 

Thanks for your replies.

 

Yes I give the modify permssion to my veeam server:

But the error persist. Any other idea. 

Thanks


  • New Here
  • January 16, 2025

This is the error

 


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • January 16, 2025

Are you typing the Path or clicking browse to see if you can choose it that way?  Browse will tell you if it is working but I have never seen a path added in that format which is probably the issue.


  • New Here
  • January 16, 2025

Thanks ​@Chris.Childerhose.

 

When I try browse, only let me browse locally in the hard drives server

 

The format is correct: see it in this KB article: Network Attached Storage (SMB Shares) - Veeam Backup for Microsoft 365 Guide

Thanks


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • January 16, 2025

Thanks ​@Chris.Childerhose.

 

When I try browse, only let me browse locally in the hard drives server

 

The format is correct: see it in this KB article: Network Attached Storage (SMB Shares) - Veeam Backup for Microsoft 365 Guide

Thanks

In that article for the NAS SMB share the format is - \\server\share name --- you have more than that in the path you posted.  Is the shared folder called “O365_Winsystems”?  If so then it should be for your path - \\10.1.40.52\O365_Winsystems

If the other path is the shared folder then I am unsure why it is not working.