Add Member to Distribution Group

Add a user to the specified distribution group.

Input Parameters

Name Type Required Description
User Name String Yes User name used to authenticate the Office 365 web service.
Password Password Yes Password used to authenticate the Office 365 web service.
User Email Address String Yes The email address of the user to be added to the distribution group.
Group Name String Yes The name of the distribution group to add user to.

Output Parameters

Name Type Description
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

Name Type Required Example
User Name String Yes Office365Admin@ABC.onmicrosoft.com
Password Password Yes <link to start parameter>
User Email Address String Yes User1@ABC.onmicrosoft.com
Group Name String Yes Marketing