m365_convert_ex_employee_to_shared
Convert a departing employee's mailbox into a free shared mailbox, forward incoming mail with a copy, and hide it from the GAL to preserve access and reduce licenses.
Instructions
Converts a departing employee's mailbox to a free SharedMailbox, sets forwarding with copy, and hides from GAL.
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": {
"legacy_upn": "<legacy_upn>",
"target_forward_email": "<target_forward_email>"
},
"name": "m365_convert_ex_employee_to_shared"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legacy_upn | Yes | ||
| hide_from_gal | No | ||
| target_forward_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |