Restore Deleted User
Restore deleted user to regular status.
Input Parameters
User Name |
String |
Yes |
User name used to authenticate to the Office 365 web service. |
Password |
Password |
Yes |
Password used to authenticate to the Office 365 web service. |
User Principal Name |
String |
Yes |
User principal name of deleted user. |
New User Principal Name |
String |
Yes |
New principal name for deleted user. |
Output Parameters
Result String |
String |
Object Execution Error Details. |
Result |
Number |
Returns a success value of zero or any value other than zero to indicate failure. |
Example Input Parameters
User Name |
String |
Yes |
Office365Admin@ABC.onmicrosoft.com |
Password |
Password |
Yes |
<link to start parameter> |
Email Address Of The Deleted User |
String |
Yes |
User1@ABC.onmicrosoft.com |
New Email For The Deleted User |
String |
Yes |
User2@ABC.onmicrosoft.com |