When using the API to create a new resource, the new Account password is incorrectly applied when it contains the '+' (plus) symbol.
Background:
I am attempting to populate a large number of artefacts into our PMP solution.
As you'd expect, some of the account's passwords have special characters. As I am running though the resources and adding them to the PMP Application I have found that whilst the API correctly creates the resource and it's associated account(s), the password has been applied incorrectly.
I have created a new password policy (LocalAdmin) to confirm that the password I am attempting to apply can be applied manually. So my example json for the API:
INPUT_DATA={
"operation":{
"Details":{
"RESOURCENAME":"WS01",
"ACCOUNTNAME":"Administrator",
"RESOURCETYPE":"Windows",
"PASSWORD":"lekfmt+FREDDY+91",
"NOTES":"Testing API",
"RESOURCEPASSWORDPOLICY":"Strong",
"ACCOUNTPASSWORDPOLICY":"LocalAdmin",
"RESOURCECUSTOMFIELD":[
{
"CUSTOMLABEL":"Secure Resource",
"CUSTOMVALUE":"YES"
}
],
"ACCOUNTCUSTOMFIELD":[
{
"CUSTOMLABEL":"Team",
"CUSTOMVALUE":"Testing"
}
]
}
}
}
Symptom:
Within PMP, the new account for WS01 is created with an Account called 'Administrator'. Unfortunately, the Password is applied with with '+' characters removed.
Required Password: lekfmt+FREDDY+91
Applied Password: lekfmt FREDDY 91
Request:
Could you please explain how I can use/escape passwords with special characters when attempting to apply them into PMP?
Many thanks.