CPM Scanner - PASWS084E. Reason: A potentially dangerous value was detected from the client
Symptom
When running CPM Discovery scan, we receive the error
Request failed, Error Code: PASWS084E. Reason: A potentially dangerous value was detected from the client..
AccountsCreator | CreateAccount | DetectedAccountsLogic | CreateVaultAccount | Account [xxx], Address xxx.com]. Exception: System.Exception: Failed to add account Name: xxx, Address: xxx.com. Reason: There was a problem with adding the account. at CyberArk.CPMScanner.Logic.AccountsCreator.Create(Account newAccount, MissingInformationPrivateKeysHandler missingInformationPrivateKeysHandler)
Environment
Privileged Access Manager (PAM, self-hosted) Discovery and Accounts Feed Discovery and Accounts Feed Discovery Scanner
Cause
Invalid characters on the account properties.
The error PASWS084E thrown on validation of characters "<" and "&#" in order to avoid XSS attack.
Resolution
Run Powershell command to get user properties to check
Get-ADUser -Identity "<xxx>" -Properties *
Remove "<" and "&#" from any properties.