Free Trial

Alteryx Server Discussions

Find answers, ask questions, and share expertise about Alteryx Server.
SOLVED

Not able to access shared network folder from Gallery

ashokkumar1
8 - Asteroid

HI All,

 

one of the user facing issue that workflow unable to access the shared network folder from Alteryx Gallery.

I tired the option of ALL UNC still throwing the error. as can't access the folder.

Timely response highly appreciated Thank you.

10 REPLIES 10
fmvizcaino
17 - Castor
17 - Castor

Hi @ashokkumar1 ,

 

Alteryx server must have access to the shared folders as well. Take a look at this post to check how to deal with credentials.

https://community.alteryx.com/t5/Alteryx-Server-Knowledge-Base/How-Workflow-Credentials-Work-on-a-Pr...

 

Best,

Fernando Vizcaino

ashokkumar1
8 - Asteroid

Hi @fmvizcaino ,

 

Thanks for your response, i have gone through the link and tried same with user but still it is throwing same error.

 

the default user and password which is using in gallery does not have have access to shared network folder which user is trying to connect in gallery.

fmvizcaino
17 - Castor
17 - Castor

Hi @ashokkumar1 ,

 

You have 2 options there:

1. Give access to the default user

2. Start working with Gallery credentials. This option will allow the developer to include a user credential that will always run the workflow

2.1: Add a credential in server: https://help.alteryx.com/20211/server/add-credential

2.2: Enable the option for users to use a credential in a workflow: https://help.alteryx.com/20204/server/select-workflow-credentials-setting-your-gallery

2.3: Set workflow credentials when publishing to the gallery: https://help.alteryx.com/20204/server/save-workflow-gallery

 

Best,

Fernando Vizcaino

AsmiDesai
9 - Comet

Get the "Run As" Account from Alteryx Server's Alteryx System Settings, and make sure it has access to shared path.
Provide access if required. That should resolve this issue.

ashokkumar1
8 - Asteroid

Hi @fmvizcaino and @AsmiDesai  ,

 

Can i request user to add ' RUN AS' user ID(Gallery default user id) to Shared network folder? will it work? Please let me know

fmvizcaino
17 - Castor
17 - Castor

Yes, it will work! 😁

PhaniV
8 - Asteroid

This doesnt work. I tried the runAs option.

fmvizcaino
17 - Castor
17 - Castor

Hey @PhaniV , You probably didn`t mean it like that, but the way you answered the topic could drive people away from a correct solution. Please be mindful of others when posting a reply like yours.

 

Having said that, you have to use UNC path when publishing your workflow to the Gallery, that is the universal naming convention when dealing with paths. It will look something like this. \\servernameorIP\folder

The run as account is also mandatory if you work with a private shared folder.

 

If the steps above are not working and you have access to the server box, open Alteryx designer as the runAs user and see if you have visibility on the shared folder you are trying to connect to.

 

Best,

Fernando Vizcaino

 

PhaniV
8 - Asteroid

Hi @fmvizcaino My response isn't just to address your comment but is meant for the entire post. Sharing my experience might help others facing a similar issue. Here's what I've tried: I used the UNC path when publishing the workflow to the gallery. Additionally, I saved user credentials to enable 'Run As,' visible upon publication in the server gallery, and that didn't work either. While it worked fine in the local designer using user credentials, it encountered issues in the server gallery despite the suggestions from this post.

I'll continue updating the community as I explore other solutions.