Closed aitayi1982 closed 2 years ago
You should find additional detail behind the generic error message being returned in your pvwa logs.
I'm seeing the same error with Powershell 5.1 and PSPas 5.2.52 and CyberArk v10
Category : NotSpecified Activity : Invoke-PASRestMethod Reason : Exception TargetName : {"ErrorCode":"PASWS035E","ErrorMessage":"Authentication failure. Please contact your Administrator."} TargetType : ErrorRecord
@jessegri , Check pvwa logs to identify underlying cause.
@jessegri , @aitayi1982 - any further details in the logs which could help?
I'm also getting the same issue` only difference is I'm using the the getSAMLResponce Executable to get the token which appears to be working.
expanding the full error from PS I get
PSMessageDetails :
Exception : System.Exception: [400] Authentication failure. Please contact your Administrator.
at System.Management.Automation.MshCommandRuntime.ThrowTerminatingError(ErrorRecord errorRecord)
TargetObject : {"ErrorCode":"PASWS035E","ErrorMessage":"Authentication failure. Please contact your Administrator."}
CategoryInfo : NotSpecified: ({"ErrorCode":"P...dministrator."}:ErrorRecord) [Invoke-PASRestMethod], Exception
FullyQualifiedErrorId : PASWS035E,Invoke-PASRestMethod
ErrorDetails :
InvocationInfo : System.Management.Automation.InvocationInfo
ScriptStackTrace : at Invoke-PASRestMethod
the PVWA log reports these lines
WARN [39] 9eaea61a-6a73-4c09-a5e0-8bafab8bdaff Logon Response:: Code: 400. Content: {"ErrorCode":"PASWS035E","ErrorMessage":"Authentication failure. Please contact your Administrator."} [AuthController]
DEBUG [39] 9eaea61a-6a73-4c09-a5e0-8bafab8bdaff EPVAN040D Disabling HTTP cache []
INFO [39] 9eaea61a-6a73-4c09-a5e0-8bafab8bdaff EndRequest /PasswordVault/api/auth/SAML/Logon | code: 400 [up]
Anyone have a resolution to this? This recently just started happening.
Describe the issue I work with SAML authentication, but get error : [400] Authentication failure
To Reproduce Steps to reproduce the behavior:
Expected behavior I should get PASSession successfully. I can get SAML response, but can not pass authentication.
Screenshots & Console Output
Your Environment Include relevant details about your environment
Additional context Add any other context about the problem here.