Microsoft Defender API icon

Microsoft Defender API

Interact with the Microsoft Defender API

Machine Action → Isolate Machine

AI-generated

Summary

Isolate a specified device in Microsoft Defender by applying a network isolation type to control its connectivity.

Inputs

  • Machine ID (required) — The unique identifier of the device to isolate.
  • Comment — Optional comments to describe or justify the isolation action.
  • Isolation Type — The type of isolation to apply: Full (for managed devices), Selective (restrict only certain applications), or UnManagedDevice (targets unmanaged devices only).

Output shape

The API response indicating the isolate action status, typically including details about the isolation request or action initiation.

The operation triggers a POST request to isolate the device by ID; no pagination or list is returned. The response will follow Microsoft Defender API standards for machine isolation actions.

Links

Discussion