samples
turbot/flowpipe-samples/add-new-user-in-microsoft-office-365
OverviewPipelines
0
Triggers
0
Variables
GitHub

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 'teams_team_id=<string>' \
--arg 'teams_display_name=<string>' \
--arg 'teams_account_enabled=<bool>' \
--arg 'teams_user_principal_name=<string>' \
--arg 'teams_password=<string>' \
--arg 'teams_license_sku_ids=<list of string>' \
--arg 'jira_project_key=<string>' \
--arg 'teams_mail_nickname=<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 = {
teams_team_id = <string>
teams_display_name = <string>
teams_account_enabled = <bool>
teams_user_principal_name = <string>
teams_password = <string>
teams_license_sku_ids = <list of string>
jira_project_key = <string>
teams_mail_nickname = <string>
teams_message = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
teams_team_idstringYesThe unique identifier for the team.-
jira_credstringYesName for Jira credentials to use. If not provided, the default credentials will be used.default
teams_credstringYesName for Teams credentials to use. If not provided, the default credentials will be used.default
teams_display_namestringYesThe name to display in the address book for the user.-
teams_account_enabledboolYesIf the account is enabled then true; otherwise, false.-
teams_user_principal_namestringYesThe user principal name (someuser@contoso.com).-
teams_passwordstringYesThe password for the user.-
teams_license_sku_idslist of stringYesThe unique identifier for the available licenses.-
teams_roleslist of stringYesThe roles for the user.
[
"member"
]
jira_project_keystringYesThe key identifying the Jira project.-
teams_mail_nicknamestringYesThe mail alias for the user.-
teams_messagestringYesThe message to send.-

Outputs

This pipeline has no outputs.