cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
683
Views
0
Helpful
1
Replies

Set PIN via powershell

wagner
Level 1
Level 1

I try to update the PIN via powershell.

I allways get "Error: return is empty" (in german: "Fehler: Leere Antwort auf Anfroderung")

Any Idea whats wrong?

 

$AXL = New-WebServiceProxy -Uri ($scriptPath + "\AXLAPI.wsdl") -Credential $MyCreds
$AXL.Url = "$url"
$ns = $AXL.getType().namespace

$updateUserReq = @{}
$updateUserReq.add('userIdentity','testuser')
$updateUserReq.add('pin','4567')

$foo = $AXL.UpdateUser($updateUserReq)


1 Reply 1

thedd
Level 1
Level 1

I think the Error is you use "userIdentity" instead of "userid" as described in the AXL Dokumentation