Enabling or disabling user and group management or AWS Directory Service Data
To use user and group management or AWS Directory Service Data, it must be enabled. Once enabled, you can manage
users and groups from the AWS Management Console, AWS CLI, or AWS Tools for PowerShell.
Enabling AWS Directory Service Data
Use the following procedure to enable AWS Directory Service Data for an existing
AWS Managed Microsoft AD with the AWS Management Console, AWS CLI, or AWS Tools for PowerShell.
- AWS Management Console
-
You can enable user and group management with the AWS Management Console.
To enable user and group management
-
Open the Directory Service console at https://console.aws.amazon.com/directoryservicev2/.
-
On the Directory details page, to enable
user and group management, select Enable.
-
In the Enable user and group management dialog box, select
Enable.
- AWS CLI
-
The following describes how to format a request that enables the AWS Directory Service Data CLI. You
must include your Directory ID number in your request.
This command uses the aws ds namespace.
To enable AWS Directory Service Data CLI
aws ds enable-directory-data-access --directory-id d-1234567890
For more information, see enable-directory-data-access.
- PowerShell
-
To enable Directory Service Data with Tools for PowerShell
Enable-DSDirectoryDataAccess -DirectoryId d-1234567890
For more information, see Enable-DSDirectoryDataAccess.
Disabling AWS Directory Service Data
Use the following procedure to disable AWS Directory Service Data for an existing
AWS Managed Microsoft AD with the AWS Management Console, AWS CLI, or AWS Tools for PowerShell.
- AWS Management Console
-
You can disable user and group management with the AWS Management Console.
To disable user and group management
-
Open the Directory Service console at https://console.aws.amazon.com/directoryservicev2/.
-
On the Directory details page, to disable
user and group management, select Disable.
-
In the Disable user and group management dialog box, select
Disable.
- AWS CLI
-
The following describes how to format a request that disables the AWS Directory Service Data CLI. You
must include your Directory ID number in your request.
This command uses the aws ds namespace.
To disable AWS Directory Service Data CLI
aws ds disable-directory-data-access --directory-id d-1234567890
For more information, see disable-directory-data-access.
- PowerShell
-
To disable Directory Service Data with Tools for PowerShell
Disable-DSDirectoryDataAccess -DirectoryId d-123456789
For more information, see Disable-DSDirectoryDataAccess.