Having some files in a shared folder which we are trying to input using directory tool.
The WF runs fine on designer but when run on Scheduler getting the following error:
Start: Designer x64: Started running at 2021-06-16 08:35:26
Error: Tool #7: Invalid Directory "\\10.101.152.50\samba-share-SAP\Resignation*.csv": You can't access this shared folder because your organization's security policies block unauthenticated guest access. These policies help protect your PC from unsafe or malicious devices on the network. (1272)
Checked the WF Dependencies the test for that folder is going fail
Any idea about how i can get access to that folder in alteryx scheduler.....)
Have attached the SS Below
.
Solved! Go to Solution.
Hi @harshal98
You'll need to set up the Alteryx service that runs the scheduler to log on with a service account that has access to the share. By default, the scheduler will run with the "Local System" account, which has no permissions outside of your computer.
Dan
@danilang Thanks. Can you guide me on how this can be done...do i need to make changes in settings of the Alteryx Scheduler?
hi @harshal98
Follow the instructions here, pressing Next until you get to the Run As... page
Enter your company domain, the login name of the service account and its password
Dan
@danilang Thanks!
Quick Question : Need to run only few WFs which needs access to that location.
Hope setting to run the worker as a different user does not effect the other WFs running on designer or scheduler as they have no relevance with that location/user....)
Hi @harshal98
The service account will need access to all the relevant paths on your local computer as well. It won't be able to access the content in your personal folders, i.e. c:\users\harshal\... unless you explicitly grant access. This will only affect the scheduled workflows, since Designer always runs in the context of the logged in user.
Dan
@danilang Well in that case running WFs from my personal folders is my first priority.
Running WFs from that shared location is only for few WFs which can be said secondary but needs to run.
How do i deal with this situation?
When you set up the service account on your computer, grant it access to your personal folders using Windows File Explorer. That way it will be able to access the network and the files on your local drive
Dan