Depends how box sync is running. If it's a service it's likely running as SYSTEM which doesn't have permissions to network resources. So you would need to create a user account, allow that account to be used by services, configure the service to login with that account and configure the network share with access for that new account.