get-user
get-userRetrieve Microsoft 365 user details by entering an object ID or userPrincipalName (email). Returns selected properties for the specified account.
Instructions
Get a user by object id or userPrincipalName (email).
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": {
"userIdOrUpn": "<userIdOrUpn>"
},
"name": "get-user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| select | No | Comma separated list of properties to return (OData $select) | |
| userIdOrUpn | Yes | Entra object id or userPrincipalName, e.g. kiss.peter@ceg.hu |