Making sense of the different APIs
Microsoft has made five APIs available related to Microsoft 365 Defender and its associated services. Some of these APIs are exclusively related to Microsoft 365 Defender, and others are part of a broader collection. Let’s check them out.
Microsoft Graph security API
The Microsoft Graph security API is part of the Microsoft Graph API. Its production request URLs are found at graph.microsoft.com/v1.0/security
and beta request URLs at graph.microsoft.com/beta/security
, with the beta endpoint subject to change and therefore not recommended by Microsoft for production use.
Microsoft is investing heavily in Microsoft Graph, and it’s reasonable to say this should be your starting point and where to expect future investment. This means if an operation is available in the Microsoft Graph security API and another API, you may want to opt for the Graph version.
The following capabilities related to Microsoft 365 Defender are exposed...