ResetPIN operation (UM web service)

The ResetPIN operation changes the PIN (TUI password) to a new random value.

Remarks

The ResetPIN operation creates a new PIN based on the PIN policies. If the operation is successful, an e-mail message that contains the new PIN is sent to the mailbox of the user. If the operation fails, it will throw an exception that contains information about the failure.

ResetPIN request example

Description

The following example of a ResetPIN request shows how to form a request to reset the PIN for a mailbox.

Code

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ResetPIN xmlns="https://schemas.microsoft.com/exchange/services/2006/messages" />
  </soap:Body>
</soap:Envelope>

Successful ResetPIN response example

Description

The following example of a ResetPIN response shows a response to the ResetPIN request.

Code

<?xml version="1.0" encoding="utf-8" ?> 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <ResetPINResponse xmlns="https://schemas.microsoft.com/exchange/services/2006/messages" /> 
  </soap:Body>
</soap:Envelope>

See also

ResetPIN (UM web service)

ResetPINResponse (UM web service)