3.3.4.1.8.1 Bad Parameter Error

If the client sends a request where any of the following is true:

  • The SOAP header (section 2.2.3.5) contains an empty, not present, invalid, unknown, or null Server element (section 3.1.4).

  • The request contains an empty, not present, or null AccountDN element.

  • The request contains an empty, not present, or null PartitionDN element.

  • The request contains a null or not present NewPassword element.

  • The request contains a null or not present OldPassword element.

Then the server MUST return a SOAP fault with a ChangePasswordFault fault subcode. The fault detail SHOULD be as specified in the following table.

Field

Value

[Code]

soapenv:Sender

[Subcode]

ChangePasswordFault

[Action]

http://schemas.microsoft.com/2008/1/ActiveDirectory/Data/fault

[Reason]

The operation failed because of a bad parameter.

[Detail]

 <soapenv:Detail>
     <ChangePasswordFault
       xmlns="http://schemas.microsoft.com/2008/1/ActiveDirectory/CustomActions"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <ArgumentError>
         <Message>...</Message>
         <ParameterName>...</ParameterName>
         <ShortMessage>...</ShortMessage>
       </ArgumentError>
       <DirectoryError xsi:nil="true"></DirectoryError>
       <Error xsi:nil="true"></Error>
       <ShortError xsi:nil="true"></ShortError>
     </ChangePasswordFault>
 </soapenv:Detail>