v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

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.

post/#X-Amz-Target=DirectoryService_20150416.CreateMicrosoftAD

Headers

X-Amz-Target'DirectoryService_20150416.CreateMicrosoftAD' required

Request body

Namestring required

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

ShortNamestring

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

Passwordstring password required
<p>The password for the default administrative user named <code>Admin</code>.</p> <p>If you need to change the password for the administrator account, you can use the <a>ResetUserPassword</a> API call.</p>
Descriptionstring

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

Edition'Enterprise' | 'Standard'

Managed Microsoft AD is available in two editions: <code>Standard</code> and <code>Enterprise</code>. <code>Enterprise</code> is the default.

Response

Success

DirectoryIdstring

The identifier of the directory that was created.