Skip to content

CreateUser

Robert Brands edited this page Feb 20, 2019 · 1 revision

Call with HTTP POST: https://<functionappname>.azurewebsites.net/api/CreateUser

Header x-functions-key must be set to the corresponding function key.

The body must contain the information about the user to be created:

{
  "accountEnabled": false,
  "displayName": "Create User Test3",
  "mailNickname": "Testuser3",
  "userPrincipalName": "testuserpostman3@company.de",
  "passwordProfile" : {
    "forceChangePasswordNextSignIn": true,
    "password": "Password"
  }
}

For this function the managed service identity must be configured, see Deployment

Clone this wiki locally