teams user resolve
Auto-generated reference
This page is generated from checked-in CLI metadata for release v0.3.0. Do not edit it by hand.
Resolve a name or email to user candidates, degrading with available scopes: exact lookup, then people search, then a roster sweep over shared group/meeting chats.
Synopsis
teams user resolve [OPTIONS] <QUERY>
Options
| Option | Value | Required | Env | Default | Description |
|---|---|---|---|---|---|
--max-chats | MAX_CHATS | no | 200 | Maximum group/meeting chats to scan in the roster-sweep fallback |
Examples
Resolve a colleague by email
teams user resolve alex@example.com --output json
Bound the roster fallback scan
teams user resolve "Alex Lee" --max-chats 50 --output json
Exit Codes
| Code | Meaning |
|---|---|
| 0 | success |
| 2 | invalid input |
| 3 | authentication error |
| 4 | permission denied |
| 5 | not found |
| 6 | rate limited |