diff --git a/src/WorkflowActivityLibrary.UI/Forms/RunPowerShellScriptForm.cs b/src/WorkflowActivityLibrary.UI/Forms/RunPowerShellScriptForm.cs index cc2dd02..0642d36 100644 --- a/src/WorkflowActivityLibrary.UI/Forms/RunPowerShellScriptForm.cs +++ b/src/WorkflowActivityLibrary.UI/Forms/RunPowerShellScriptForm.cs @@ -569,15 +569,17 @@ namespace MicrosoftServices.IdentityManagement.WorkflowActivityLibrary.UI.Forms return false; } - try - { - ProtectedData.DecryptData(this.powerShellUserPassword.Value); - } - catch (WorkflowActivityLibraryException ex) - { - this.controller.ValidationError = ex.Message; - return false; - } + // Limited value in this check as the code runs under the context of submitter instead of FIMService plus + // code run on the Portal Server which may not be co-located with FIMService server. + ////try + ////{ + //// ProtectedData.DecryptData(this.powerShellUserPassword.Value); + ////} + ////catch (WorkflowActivityLibraryException ex) + ////{ + //// this.controller.ValidationError = ex.Message; + //// return false; + ////} } // If no errors were found, clear any validation error and return true