MC1220762 Retirement notice: MDE and XDR Advanced Hunting APIs retiring; migrate to Microsoft Graph Security API
Primary service: Defender XDR
ChangePilot summary
- The Microsoft Defender for Endpoint (MDE) API and XDR API are being retired and will transition to the Microsoft Graph Security API. Existing automation, integration, and custom workflows using the MDE and XDR APIs will fail after retirement if not updated. Manual updates will be necessary to migrate workflows to the Microsoft Graph Security API; no automatic migration will occur. Organizations must update internal documentation and scripts to align with the Microsoft Graph Security API by the provided deadlines. Communication of these changes is essential for security operations, engineering, and development teams within affected organizations.
Latest update: Post updated as a reminder.
History
Recorded changes
- Post updated as a reminder.
- In the updated version, the words "Advanced Hunting" have been added to explicitly specify the APIs being retired.
- In the updated version, the words "Advanced Hunting" have been added to explicitly specify the APIs being retired.
- Summary changed from - The Microsoft Defender for Endpoint (MDE) API and XDR API are being retired and will transition to the Microsoft Graph Security API. - Existing automation, integration, and custom workflows using the MDE and XDR APIs will fail after retirement if not updated. - Manual updates will be necessary to migrate workflows to the Microsoft Graph Security API; no automatic migration will occur. - Organizations must update internal documentation and scripts to align with the Microsoft Graph Security API by the provided deadlines. - Communication of these changes is essential for security operations, engineering, and development teams within affected organizations. to The Microsoft Defender for Endpoint (MDE) API and XDR API are being retired and will transition to the Microsoft Graph Security API. Existing automation, integration, and custom workflows using the MDE and XDR APIs will fail after retirement if not updated. Manual updates will be necessary to migrate workflows to the Microsoft Graph Security API; no automatic migration will occur. Organizations must update internal documentation and scripts to align with the Microsoft Graph Security API by the provided deadlines. Communication of these changes is essential for security operations, engineering, and development teams within affected organizations.
Microsoft message
Updated October 26, 2026: We have updated this post as a reminder. Thank you for your patience.
[Introduction]
We’re retiring the Microsoft Defender for Endpoint (MDE) Advanced Hunting API and Microsoft Defender XDR Advanced Hunting API and transitioning customers to the Microsoft Graph Security API. This update aligns our security integrations with a unified interface and schema across Microsoft Defender products. The Microsoft Graph Security API provides broader data coverage, improved consistency, and better scalability for automation and security workflows.
[When this will happen]
- Retirement start: February 6, 2026
- Full retirement: February 1, 2027
- After February 1, 2027, the MDE and XDR APIs will no longer function.
[How this affects your organization]
Who is affected:
- Organizations using the MDE or XDR Advanced Hunting API for automation, integration, or custom workflows.
- You are receiving this message because our reporting indicates your organization may be using these APIs.
What will happen:
- The MDE and XDR Advanced Hunting APIs will stop functioning after February 1, 2027.
- Existing scripts, automations, and workflows that rely on these APIs will fail if not updated.
- The Microsoft Graph Security API will be the supported API for accessing Microsoft security data.
- No automatic migration will occur; manual updates will be required.
[What you can do to prepare]
- Migrate all existing API workflows to the Microsoft Graph Security API by January 31, 2027.
- Update internal documentation, automation scripts, and integration endpoints to use the Microsoft Graph Security API.
- Communicate these changes to your security operations, engineering, and development teams.
- Review Microsoft documentation to plan your migration: Use the Microsoft Graph security API.
- If your organization uses custom solutions, validate that new queries and response schemas work as expected before the retirement date.
Learn more:
- Advanced hunting - Use the Microsoft Graph security API | Microsoft Graph | Microsoft Learn
- Migrate from the older APIs - Use the Microsoft Graph security API | Microsoft Graph | Microsoft Learn
- (to be retired) Advanced Hunting API - Microsoft Defender for Endpoint | Microsoft Learn
- (to be retired) Microsoft Defender XDR advanced hunting API - Microsoft Defender XDR | Microsoft Learn
[Compliance considerations]
No compliance considerations identified. Review as appropriate for your organization.
More information
- learn.microsoft.com/graph/api/resources/security-api-overview?view=graph-rest-1.0
- learn.microsoft.com/graph/api/resources/security-api-overview?view=graph-rest-1.0#advanced-hunting
- learn.microsoft.com/graph/api/resources/security-api-overview?view=graph-rest-1.0#migrate-from-the-older-apis
- learn.microsoft.com/defender-endpoint/api/run-advanced-query-api
- learn.microsoft.com/defender-xdr/api-advanced-hunting
Details
In weekly changes
Services
- Defender XDR
Category
- Plan for change
Microsoft tags
- User Adoption
- Admin Action
- Retirement