Skip to content

/AWS1/CL_DSR=>CREATEMICROSOFTAD()

About CreateMicrosoftAD

Creates a Microsoft AD directory in the Amazon Web Services Cloud. For more information, see Managed Microsoft AD in the Directory Service Admin Guide.

Before you call CreateMicrosoftAD, ensure that all of the required permissions have been explicitly granted through a policy. For details about what permissions are required to run the CreateMicrosoftAD operation, see Directory Service API Permissions: Actions, Resources, and Conditions Reference.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/DSRDIRECTORYNAME /AWS1/DSRDIRECTORYNAME

The fully qualified domain name for the Managed Microsoft AD directory, such as corp.example.com. This name will resolve inside your VPC only. It does not need to be publicly resolvable.

IV_PASSWORD TYPE /AWS1/DSRPASSWORD /AWS1/DSRPASSWORD

The password for the default administrative user named Admin.

If you need to change the password for the administrator account, you can use the ResetUserPassword API call.

IO_VPCSETTINGS TYPE REF TO /AWS1/CL_DSRDIRECTORYVPCSTGS /AWS1/CL_DSRDIRECTORYVPCSTGS

Contains VPC information for the CreateDirectory or CreateMicrosoftAD operation.

Optional arguments:

IV_SHORTNAME TYPE /AWS1/DSRDIRECTORYSHORTNAME /AWS1/DSRDIRECTORYSHORTNAME

The NetBIOS name for your domain, such as CORP. If you don't specify a NetBIOS name, it will default to the first part of your directory DNS. For example, CORP for the directory DNS corp.example.com.

IV_DESCRIPTION TYPE /AWS1/DSRDESCRIPTION /AWS1/DSRDESCRIPTION

A description for the directory. This label will appear on the Amazon Web Services console Directory Details page after the directory is created.

IV_EDITION TYPE /AWS1/DSRDIRECTORYEDITION /AWS1/DSRDIRECTORYEDITION

Managed Microsoft AD is available in two editions: Standard and Enterprise. Enterprise is the default.

IT_TAGS TYPE /AWS1/CL_DSRTAG=>TT_TAGS TT_TAGS

The tags to be assigned to the Managed Microsoft AD directory.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_DSRCREMICROSOFTADRSLT /AWS1/CL_DSRCREMICROSOFTADRSLT