Forum Discussion
ghostrider31
Oct 30, 2025Copper Contributor
XDR Advanced hunting API region availability
Hi, I am exploring XDR advanced hunting API to fetch data specific to Microsoft Defender for Endpoint tenants. The official documentation (https://learn.microsoft.com/en-us/defender-xdr/api-advanced...
- Apr 10, 2026
- Yes, calling https://login.microsoftonline.com/{tenantId}/v2.0/.well-known/openid-configuration will return the correct region-specific endpoint, meaning you use a single global discovery URL and not hard-code regional endpoints.
-
The Microsoft Graph runHuntingQuery API is not available in China (21Vianet), you'll need to use https://api-cn.security.microsoft.com/api/advancedhunting/run
ckyalo
Microsoft
Apr 10, 2026- Yes, calling https://login.microsoftonline.com/{tenantId}/v2.0/.well-known/openid-configuration will return the correct region-specific endpoint, meaning you use a single global discovery URL and not hard-code regional endpoints.
-
The Microsoft Graph runHuntingQuery API is not available in China (21Vianet), you'll need to use https://api-cn.security.microsoft.com/api/advancedhunting/run