Not able to set-up a box with synced_folder on hyper-v access denied

I’m trying to run a box on hyper-v and not able to mount the synced_folder.

Did set-up a local user, my machine is part of a domain.
windows version 21H2 22000.466

$env:VAGRANT_SMB_USERNAME = "the_hyperv_host\user"
$env:VAGRANT_SMB_PASSWORD = "password"


Vagrantfile

# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|

  config.vm.box = "jborean93/WindowsServer2019"

 config.vm.synced_folder './data', '/vagrant_data', {

    type: 'smb', mount_options: ['vers=3.0'],

    smb_username: ENV['VAGRANT_SMB_USERNAME'],

    smb_password: ENV['VAGRANT_SMB_PASSWORD']

  }

 

  config.vm.provider "hyperv" do |h|

    # Customize the amount of memory on the VM:

    h.cpus = 2

    h.memory = "4096"

  end

end