add_users_to_group
Add multiple Okta users to a group in one bulk operation, with a default dry-run preview to verify changes. Only ACTIVE users are added; inactive users are skipped with reasons.
Instructions
Add multiple users to a group at once (requires okta.groups.manage scope). Preferred over calling add_user_to_group in a loop. Only ACTIVE users are added; others are skipped with a reason.
⚠️ BULK OPERATION. Defaults to dry_run=True for safety.
Args: group_id: Okta group ID to add users to user_ids: List of Okta user IDs dry_run: Preview only if True (default) — makes no live calls to Okta confirm_add: Must be True when dry_run=False override_cap: Must be True to proceed if len(user_ids) exceeds the safety cap
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"group_id": "<group_id>",
"user_ids": "<user_ids>"
},
"name": "add_users_to_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| group_id | Yes | ||
| user_ids | Yes | ||
| confirm_add | No | ||
| override_cap | No |