Get Domain Password Policy
Retrieves the existing password policy for the 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 |
String |
Yes |
The name of domain to retrieve the password policy for. |
Output Parameters
Name | Type | Description |
---|---|---|
Notification Days |
String |
Number of days a user is notified before their password expires. |
Validity Period |
String |
Number of days that a user password is valid for before expiring and must be changed. |
Result String |
String |
In the event the object fails to execute successfully due to invalid/incorrect input parameters, this output will detail the error. |
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 |
String |
Yes |
ABC.onmicrosoft.com |