MS Office 365 scope password cannot be null

Hi all,
When processing Uipath.MicrosoftOffice365.Activities.Office365ApplicationScope I am receiving the error “Value cannot be null”, “Parameter name: password”.

My organisation has never used ‘Password’, only ever ‘SecurePassword’. This has never previously been a problem - even for the exact activities that are now faulting.

P.s I have verified that the SecurePassword being passed does contain the correct password.

@Andrew_Bruce That might causing the issue

Also, since the Password field data type is secure password you cannot view the value in it directly. First you have to convert that type to string . Use the below expression if you not tried yet

String Varname = New System.Net.NetworkCredential(string.Empty, secureSt).Password

secureSt is the one which is the type of secure password

Also, the username and pwd authentication can be used during unattended automation


Write below expression in Password field and keep Secure string as blank.

      New System.Net.NetworkCredential("", in_sstr_password).Password