Office365 - Mail Boolean Variables Missing and not supporting Secure String

Hi UiPath,

Been a while, so i hope i post in the correct sub category :slight_smile:
As you can see below we are missing the option to add variables to booleans in Get Mail activity, this is also true for some of the other activities. Can we please have an update where this is added?

Iā€™m currently in a situation where it is needed.

Also the O365 scope, if using username and password, does not support Secure String in password. So if you use the Get Credentials from orchestrator, you canā€™t use the password from that activity. Iā€™ve had to create my own library that use the Get Credential and then converts and outputs it to two variables as plain text.

This is also true for a whole bunch of your activies, they do not support Secure String in their password fields, canā€™t mention them all because i donā€™t remember them, but i come across them from time to time, might be a great idea to check all your activities and update them so they work without a problem with a basic activity like Get Credentials?

image

-Rasmus

Thank you for your feedback.

As far as SecureString, there was recently this post by @AndrewHall where he explains the situation a little bit:

3 Likes

@loginerror good read indeed.

Iā€™ve never personally seen Secure String as a security measure as itā€™s easy to get around, Iā€™ve seen it as a nuisance that i have to build a library for and use to retrieve credentials to be able to use the login in activities where Secure String is not supported.

Please update the Get Credentials to have a boolean ā€˜Get Password As Secure Stringā€™ that we can tick true/false, because some activities need the secure string while others donā€™t support it. It would make the integration of Get Credentials way better, all it has to do is what iā€™ve uploaded if itā€™s set to false.
Get Credential.xaml (6.4 KB)

In my opinion there should be a balance between ease of use and the potential security risk, be the server memory dump, and the way the end users, us, use this activity. We should have the option to use secure string where possible, but not use it where it is not possible, without going through hoops to make it work.

To be honest, with that solution, i think it will stop the, ā€œhow do i get XYZ to work with secure stringā€ as people just can tick it off. And every time it gets ticked on/off it should make a check if there is a variable defined and if itā€™s the right data type, like it does in all other activities :slight_smile:

3 Likes

The suggestion for the option for how to store is an interesting one. However, anything that is stored as a SecureString can be converted to string with a single line of code, and if you prefer you can even do this directly when passing the argument. For e.g. to convert SecureString a variable named ā€œsecureStringPasswordā€ stored as SecureString to a string use this line of code either in an Assign activity or just as the the value supplied to the property requesting the password as a string:
new System.Net.NetworkCredential(string.Empty, secureStringPassword).Password

I agree that it is easy to get around, but it is still time spend, as I wrote I created a small library so i have easy access to this functionality every time I need it without having to remember som obscure text or go back to my notes. But since itā€™s possible to add it to the activity, why not make it easy on the end user, since you already know end users have this issue (look at your forum). People do the assign anyway because it is needed, itā€™s that simple, there is no way around it, so why not just add it in and throw a description on it stating that users should read the wiki for the full understanding of this function and copy that post over you made, explaining the it?

It would make the every day use of the ā€˜Get Credentialsā€™ work without any issues and you keep support for activities that need secure text. Instead of going through hoops we would have easy use.

Also looking at the time aspect for the end user compared to how much time a developer at UiPath would have to spend upgrading it, I can only say that having one or more developer add it in, versus 1000 or 10000 end users, if not more, forced to do the assign/library every time they need credentials for an activity that doesnā€™t support Secure String, which is quite often in my experience, makes a lot more sense.

1 Like

Hey @Rasmus_J,

I know there are 3 years since your requests but, I would like to come back to you with a good response.

Now, you can use variables in the Booleans in Get Mail activity and in all the other new Connections Activities.

Activities can be found on Cross-Platform, Studio Web and as well on Windows projects.