library
turbot/teams
Get Involved
Version
Pipeline: Create User
Create a new user.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run teams.pipeline.create_user \ --arg 'display_name=<string>' \ --arg 'account_enabled=<bool>' \ --arg 'mail_nickname=<string>' \ --arg 'user_principal_name=<string>' \ --arg 'password=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = teams.pipeline.create_user args = { display_name = <string> account_enabled = <bool> mail_nickname = <string> user_principal_name = <string> password = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
display_name | string | Yes | The name to display in the address book for the user. | - |
account_enabled | bool | Yes | If the account is enabled then true; otherwise, false. | - |
mail_nickname | string | Yes | The mail alias for the user. | - |
user_principal_name | string | Yes | The user principal name (someuser@contoso.com). | - |
password | string | Yes | The password for the user. | - |
Outputs
Name | Description |
---|---|
user | The created user. |