AnsweredAssumed Answered

Create account through web service

Question asked by Steve Alexandre on Jan 28, 2020
Latest reply on Jan 30, 2020 by Steve Alexandre

Hi everyone,

 

I'm trying to call the web service "createChangeRequest" to create an AD Account.

Following the documentation of the webservice, I put the following XML in the body :

<AccountChange>
<Operation>Create</Operation>
<User>AB1234</User>
<BusinessSource>Users</BusinessSource>
</AccountChange>

"AB1234" is my user id and "Users" my directory name.

When I'm submitting the request, I get the following response from the webservice :

<html>

<head>
    <title>Error</title>
</head>

<body>The change request could not be created. Changes element could not be found.
    Query String=cmd=createChangeRequest</body>

</html>

I don't understand because the user exist and the same WS work for other operation like disable an account.

 

Thank for you help.

Outcomes