library
turbot/teams
Get Involved
Version
Pipeline: 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
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
user_id | string | Yes | The ID or userPrincipalName of the user to whom you want to assign the license. | - |
sku_ids | list(string) | Yes | The unique identifier for the available licenses. | - |
Outputs
Name | Description |
---|---|
licenses | The user details. |