Repository navigation
Update Alert
Change fields on one alert or add a permanent history comment. Obtain the operator’s approval for the fields and exact comment before sending the write. Update an alert
The host exposes this tool with --enable-writes. The connected SCOM account must also have permission to change the alert. Host options
| Argument | Required or default | Meaning |
|---|---|---|
alertId |
Required | Alert GUID. |
comment |
Optional | History text, 1–2,000 characters, with at least one non-whitespace character. |
resolutionState |
Optional | Configured integer from 0 to 255. Use 255 to close or 0 to reopen. |
owner |
Optional | Person or team as free text, 1–255 characters. |
ticketId |
Optional | Ticket identifier, 1–150 characters. |
customField1 … customField10
|
Optional | Text, 1–255 characters per field. |
clear |
Optional | Array naming fields to empty. Choose owner, ticketId or individual custom fields. Set or clear each field only once. |
confirmMonitorClose |
false |
Use true only after separate approval to close a monitor alert. |
{"name":"scom_update_alert","arguments":{"alertId":"11111111-1111-4111-8111-111111111111","comment":"Investigation started."}}A comment alone is a valid write. Check historyEntry.comments for its text. changed lists the fields updated and is empty for a comment-only write. If the outcome is uncertain, inspect the alert and its console history before retrying to avoid duplicate entries.
If confirmationNeeded is returned, check the management group’s closure settings before requesting approval. SCOM can refuse to close an unhealthy monitor alert or reset the underlying monitor when closing it. Microsoft’s monitor alert closure guidance