sample
turbot/flowpipe-samples/add-new-user-in-microsoft-office-365
Get Involved
Version
Pipeline: Add New User in Microsoft Office 365
Add a new user in Microsoft Office 365.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run add_new_user_in_microsoft_office_365.pipeline.add_new_user_in_microsoft_office_365 \ --arg 'jira_project_key=<string>' \ --arg 'jira_issue_type=<string>' \ --arg 'teams_display_name=<string>' \ --arg 'teams_account_enabled=<bool>' \ --arg 'teams_mail_nickname=<string>' \ --arg 'teams_user_principal_name=<string>' \ --arg 'teams_password=<string>' \ --arg 'teams_chat_type=<string>' \ --arg 'teams_message_content_type=<string>' \ --arg 'teams_license_sku_ids=<list(string)>' \ --arg 'teams_team_id=<string>' \ --arg 'teams_roles=<list(string)>' \ --arg 'teams_message=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = add_new_user_in_microsoft_office_365.pipeline.add_new_user_in_microsoft_office_365 args = { jira_project_key = <string> jira_issue_type = <string> teams_display_name = <string> teams_account_enabled = <bool> teams_mail_nickname = <string> teams_user_principal_name = <string> teams_password = <string> teams_chat_type = <string> teams_message_content_type = <string> teams_license_sku_ids = <list(string)> teams_team_id = <string> teams_roles = <list(string)> teams_message = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
jira_conn | connection.jira | Yes | Name of Jira connection to use. If not provided, the default Jira connection will be used. | connection.jira.default |
jira_project_key | string | Yes | The key identifying the Jira project. | - |
jira_issue_type | string | Yes | The issue type the Jira project. | - |
teams_conn | connection.teams | Yes | Name of Teams connection to use. If not provided, the default Teams connection will be used. | connection.teams.default |
teams_display_name | string | Yes | The name to display in the address book for the user. | - |
teams_account_enabled | bool | Yes | If the account is enabled then true; otherwise, false. | - |
teams_mail_nickname | string | Yes | The mail alias for the user. | - |
teams_user_principal_name | string | Yes | The user principal name (someuser@contoso.com). | - |
teams_password | string | Yes | The password for the user. | - |
teams_chat_type | string | Yes | Specifies the type of chat. | - |
teams_message_content_type | string | Yes | The type of the content. Possible values are text and html. | - |
teams_license_sku_ids | list(string) | Yes | The unique identifier for the available licenses. | - |
teams_team_id | string | Yes | The unique identifier for the team. | - |
teams_roles | list(string) | Yes | The roles for the user. | - |
teams_message | string | Yes | The message to send. | - |
Outputs
This pipeline has no outputs.
Tags
recommended = true