3.4.5.3.1 POST

This API creates an online user and assigns to the local user.

This operation is transported by an HTTP POST.

The operation can be invoked through the following URI:

 https://<serverName>/services/builtin/AzureADManagement.svc/msouser/create?localusername={localusername}&onlineusername={onlineusername}

The request message for this operation contains the following HTTP headers.

Request header

Usage

Value

Canary

Optional

The value returned in the logon Response Canary header.

Client MUST either pass this header to the server or pass all of the following headers to the server. For more details, refer to section 2.2.2.5.

Authorization

Optional

The caller's credential is encoded text that is based on user name and password. For more details, refer to section 2.2.2.4.

AppName

Optional

Application name. For more details, refer to section 2.2.2.1.

AppVersion

Optional

Application version. For more details, refer to section 2.2.2.3.

AppPublisherName

Optional

Application publisher name. For more details, refer to section 2.2.2.2.

The response message for this operation can result in the following status codes.

Status code

Description

200

Operation successfully completed.

400

Invalid parameter.

401

The user is not authorized for web access.

404

Cannot find the local user or online user.

409

Operation failed because of the status conflict.

500

Internal server error.