samples
turbot/flowpipe-samples/offboard-entra-id-users

Update Entra ID User Status

Create Jira issue to update Entra ID user status.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run offboard_entra_id_users.pipeline.update_entra_id_user_status \
--arg 'user_id=<string>' \
--arg 'account_status=<string>' \
--arg 'project_key=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = offboard_entra_id_users.pipeline.update_entra_id_user_status
args = {
user_id = <string>
account_status = <string>
project_key = <string>
}
}

Params

NameTypeRequiredDefaultDescription
jira_credstringYesdefaultName for Jira credentials to use. If not provided, the default credentials will be used.
user_idstringYes-The Entra ID user object ID or principal name.
account_statusstringYes-The account status to update for the user. Here you can assign values as 'enable', 'disable' or 'delete' to raise respective issues in jira
project_keystringYes-The key identifying the project.
issue_typestringYesTaskIssue type.
azure_credstringYesdefaultName for Azure credentials to use. If not provided, the default credentials will be used.

Outputs

NameDescription
disable_issueIssue metadata.
enable_issueIssue metadata.
delete_issueIssue metadata.