Skip to main content

teams user resolve

Auto-generated reference

This page is generated from checked-in CLI metadata for release v0.9.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​

OptionValueRequiredEnvDefaultDescription
QUERYQUERYyesDisplay name, email address, UPN, or user object ID
--max-chatsMAX_CHATSno200Maximum 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​

CodeMeaning
0success
2invalid input
3authentication error
4permission denied
5not found
6rate limited

See Also​