Forum Discussion

Longfei_Chen's avatar
Longfei_Chen
Copper Contributor
Jul 17, 2023

Advanced Hunting API cannot query IndetityInfo table

In Postman, I send POST request to https://api.securitycenter.microsoft.com/api/advancedqueries/run and the payload is as below:

 

{
    "Query":"IdentityInfo"
}

 

I got 400 Bad Request and response is as below:

 

{
    "error": {
        "code": "BadRequest",
        "message": "'table' operator: Failed to resolve table expression named 'IdentityInfo'. Fix semantic errors in your query.",
        "target": "|16f0c184-457c5de8428dcfb0."
    }
}

 

However, I can get the IdentityInfo in https://security.microsoft.com/v2/advanced-hunting?tid=15c918e9-0017-4cbb-8215-80dbc9dfc876

Is there some error in my Azure AD API permission configuration?

No RepliesBe the first to reply