Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.Resetting and enabling an AWS Managed Microsoft AD user's password
Use the following procedure to reset an AWS Managed Microsoft AD user's password to enable their
account with AWS Directory Service Data in the AWS Management Console, AWS CLI, or AWS Tools for PowerShell.
Before you begin, complete the following:
- AWS Management Console
-
You can reset an AWS Managed Microsoft AD user's password to enable their account in the
AWS Management Console. You can perform this task from either the Directories
screen or Directory details screen.
Directories
-
Open the Directory Service console at https://eusc-de-east-1.console.amazonaws-eusc.eu/directoryservicev2/.
-
From the navigation pane, choose Active Directory, and
then choose Directories. You're directed to the
Directories screen where you can view a list of directories
in your AWS Region.
-
Choose Actions, and then choose Reset user
password and enable account.
-
Under User logon name, enter the user logon name for
the user whose password you want to reset.
-
Under New password, enter the user's new password.
-
Under Confirm password, enter user's new password
again.
-
After you confirm the user's new password, choose Reset password and
enable account.
Directory details
-
Open the Directory Service console at https://eusc-de-east-1.console.amazonaws-eusc.eu/directoryservicev2/.
-
From the navigation pane, choose Active Directory, and
then choose Directories. You're directed to the
Directories screen where you can view a list of directories
in your AWS Region.
-
Choose a directory. You're directed to the Directory
details screen.
-
Choose Users. The tab shows a list of users in your
directory.
-
Select the user whose password you want to reset.
-
Choose Actions, and then choose Reset user
password and enable account.
-
Under New password, enter the user's new password.
-
Under Confirm password, enter user's new password
again.
-
After you confirm the user's new password, choose Reset password and
enable account.
- AWS CLI
-
You can reset an AWS Managed Microsoft AD user's password to enable their account with the
AWS Directory Service Data CLI.
This command uses the aws ds namespace.
To reset an AWS Managed Microsoft AD user's password with the AWS CLI
-
To reset a user's password, open the AWS CLI, and run the following command
with your Directory ID, username, and password:
aws ds reset-user-password \
--directory-id d-1234567890 \
--user-name "jane.doe" \
--new-password "your-password"
For more information, see reset-user-password.
- PowerShell
-
You can reset an AWS Managed Microsoft AD user's password to enable their account with
AWS Tools for PowerShell.
To reset an AWS Managed Microsoft AD user's password with AWS Tools for PowerShell
-
To reset a user's password, open PowerShell, and run the
following command with your Directory ID, username, and password:
Reset-DSUserPassword `
-DirectoryId d-1234567890 `
-UserName "jane.doe" `
-NewPassword "your-password"
For more information, see Reset-DSUserPassword.