Article ID: 2723716 - View products that this article applies to.
Not sure what release of Office 365 you're using? Go to the following Microsoft website:
Am I using Office 365 after the service upgrade?
When you run the Set-MsolPasswordPolicy Windows PowerShell cmdlet in Microsoft Office 365 to set the password policy, you receive the following error message:
Set-MsolPasswordPolicy : Unable to complete this action. Try again later.
At line:1 char:23
+ Set-MsolPasswordPolicy <<<< -NotificationDays 30
+ CategoryInfo : OperationStopped: (:) [Set-MsolPasswordPolicy],
+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.Inter
This issue occurs if the one or more of following required parameters are missing when you run the cmdlet:
To resolve this issue, run the Set-MsolPasswordPolicy cmdlet together with the required parameters. For example:
Set-MsolPasswordPolicy -DomainName contoso.com -NotificationDays 15 -ValidityPeriod 180
The Windows PowerShell commands in this article require the Windows Azure Active Directory Module for Windows PowerShell. For more information about Windows Azure Active Directory Module for Windows PowerShell, go to the following Microsoft website:
Manage Windows Azure Active Directory by using Windows PowerShell
Still need help? Go to the Office 365 Community
Article ID: 2723716 - Last Review: October 24, 2013 - Revision: 10.0
Contact us for more help
Connect with Answer Desk for expert help.