» azuread_user
Manages a User within Azure Active Directory.
NOTE: If you're authenticating using a Service Principal then it must have permissions to Directory.ReadWrite.All within the Windows Azure Active Directory API.
» Example Usage
resource "azuread_user" "test_user" {
user_principal_name = "john@hashicorp.com"
display_name = "John Doe"
mail_nickname = "johnd"
password = "SecretP@sswd99!"
}
» Argument Reference
The following arguments are supported:
-
user_principal_name- (Required) The User Principal Name of the Azure AD User. -
display_name- (Required) The name to display in the address book for the user. -
account_enabled- (Optional)trueif the account should be enabled, otherwisefalse. Defaults totrue. -
mail_nickname- (Optional) The mail alias for the user. Defaults to the user name part of the User Principal Name. -
password- (Required) The password for the User. The password must satisfy minimum requirements as specified by the password policy. The maximum length is 16 characters. -
force_password_change- (Optional)trueif the User is forced to change the password during the next sign-in. Defaults tofalse.
» Attributes Reference
The following attributes are exported: