Set Domain Password Policy

Set the password policy for specified domain.

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.

Domain Name (FQDN)

String

Yes

The Domain Name for which to set password policy.

Password Validity Period

String

Yes

Number of days that a user password is valid for before password expires and must be changed.

Password Expiry Notifications Days

String

Yes

Number of days a user is notified before their password expires.

Output Parameters

Name Type Description

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>

Domain Name (FQDN)

String

Yes

ABC.onmicrosoft.com

Password Validity Period

Number

Yes

90

Password Expiry Notification Days

Number

Yes

5