How to pass secure string to a sharepoint activity

Hi guys,

We have enabled and enforced workflow analyzer rules related to secure password practices. Thus, everytime, we try to use string in place of secure string for passwords or we are using these variables as global etc., we are thrown error which is all as expected.

Now the issue we have faced is with Sharepoint activity usage in uipath studio.

Under this activity, it is expected to pass password as a string in properties panel, but this is not in compliance with workflow analyzer rules enabled. hence, we are not able to proceed.

Can anyone share if there is a way to pass secure string to this activity or is there any other activity which can be used to access sharepoint which accepts secure string?

An early response would be really appreciated.

Regards
Sonali

Hi @sonaliaggarwal47

Instead of using SharePoint activity , login into SharePoint and download files as manually we do (like clicking,typing etc…)

Thank you Prasath for your response.

However, we are looking for a way to get this done using activities instead of following manual steps for faster execution.

We are trying to explore uipath.microsoftoffice365.activities package for this now, will share my inputs as and when we get some results.

Regards
Sonali

Hi guys,

There is another version 1.7.0 available for UiPathTeam.SharePoint.Activities which provides a way to connect using secure password and is working fine for upload and other activities. So this can be utilized. Thanks to @radu_bucur and team for enhanced version of this package :slight_smile:

Also, “UiPath.MicrosoftOffice365.activities” can be utilized to connect to sharepoint or any other office 365 apps in a secure way. However, for this one, you might have to dig a little more on how your organization’s architecture is around office365. As for our organization, we were unable to to utilize authentication types ‘Integrated windows authentication’ , ‘Username and password’, likewise there might be few restrictions on specific auth types but there definitely is a way to use it using any other auth type.

So, now that we have found a solution to this, will be marking this completed :slight_smile:

Regards
Sonali

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.