Modify Distribution Group

Modify an existing distribution group

Input Parameters

Name Type Required Description
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.
Group Name (Old) String Yes The name of the existing Distribution Group to be changed.
Bypass Nested Mode Radio Button Yes Sets the bypass nested mode setting or forces to use the nested mode settings.
Managed By String Yes The existing user email address that manages the Distribution Group.
Member Join Restriction Radio Button Yes Restriction to join the group.
Member Depart Restriction Radio Button Yes Restriction to leave the group.
New Display Name String Yes The new display name for the Distribution Group.
New Email Address String Yes The new email address for the Distribution Group.
Hide from Exchange List String Yes Hide the group from exchange address list.
New Primary SMTP Address String Yes The new primary SMTP address for the Distribution Group.
New Group Name String Yes The new name for the Distribution Group.
New Group Alias String Yes The new alias for the Distribution Group.

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>
Group Name (Old) String Yes Marketing2012
Bypass Nested Mode Radio Button Yes

Optionally, you can enable nested bypass mode.

Optionally, you can disable nested bypass mode.

Optionally, you can reverse nested bypass mode.

Managed by String Yes User1@ABC.onmicrosoft.com
Member Join Restriction Radio Button Yes

Optionally, you can configure the Distribution Group to allow or not user to join.

Optionally, you can configure the Distribution Group to restrict joining.

Optionally, you can configure the Distribution Group to approval required from group manager to join.

Optionally, you can configure the Distribution Group to unchanged.

Member Depart Restriction Radio Button Yes

Optionally, you can configure the Distribution Group to Open Unrestricted to Leave.

Optionally, you can configure the Distribution Group to Closed Not Allowed to Leave.

Optionally, you can configure the Distribution Group to Approval required from group manager to leave.

Optionally, you can configure the Distribution Group to Unchanged.

New Display Name String No Marketing 2013
New Email Address String No Marketing2013@ABC.onmicrosoft.com
Hide From Exchange List Radio Button Yes

Optionally, you can choose enable to hide Distribution Group from Exchange List.

Optionally, you can choose Disable to display Distribution Group from Exchange List.

Optionally, you can choose to reverse the Hide from Exchange List configuration.

New Primary SMTP Address String No Marketing2013@ABC.onmicrosoft.com
New Group name String No Marketing2013
New Group Alias String No Marketing2013