Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error message when you run the Set-MsolPasswordPolicy cmdlet in Office 365: "Unable to complete this action"


View products that this article applies to.

Symptoms

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],
MicrosoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.Inter
nalServiceException,Microsoft.Online.Administration.Automation.SetPassword Policy

↑ Back to the top


Cause

This issue occurs if the one or more of following required parameters are missing when you run the cmdlet:�
  • DomainName
  • NotificationDays
  • ValidityPeriod

↑ Back to the top


Resolution

To resolve this issue, run the cmdlet together with the required parameters. For example:�
Set-MsolPasswordPolicy -DomainName contoso.com -NotificationDays 15 -ValidityPeriod 180

↑ Back to the top


More information

Note The Windows PowerShell commands in this article require the Microsoft Online Services Module for Windows PowerShell.

For more information about Microsoft Online Services Module for Windows PowerShell, go to the following Microsoft website:

↑ Back to the top


Keywords: KB2723716, o365, vkbportal237, vkbportal231

↑ Back to the top

Article Info
Article ID : 2723716
Revision : 3
Created on : 9/14/2012
Published on : 9/14/2012
Exists online : False
Views : 719