library
turbot/teams
OverviewPipelines
0
Triggers
0
Variables
GitHub

Assign Licenses to User

Add subscriptions for the user.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run teams.pipeline.assign_licenses_to_user \
--arg 'user_id=<string>' \
--arg 'sku_ids=<list(string)>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = teams.pipeline.assign_licenses_to_user
args = {
user_id = <string>
sku_ids = <list(string)>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
user_idstringYesThe ID or userPrincipalName of the user to whom you want to assign the license.-
sku_idslist(string)YesThe unique identifier for the available licenses.-

Outputs

NameDescription
licensesThe user details.