API Advanced Hunting IdentityLogonEvents error
Hi everyone,
I'm trying to get the Identitylogonevents result from the API, and I get a forbidden error message, I gave all rights, read all Microsoft documentation and article I found nothing.
i have test all this API :
#$url = "https://api.securitycenter.microsoft.com/api/advancedqueries/run"
#$url = "https://api.security.microsoft.com/api/advancedhunting/run"
#$url = "https://api-eu.securitycenter.microsoft.com/api/advancedhunting/run"
$url= "https://api.security.microsoft.com/api/advancedhunting/run"
this is my query : $query = "IdentityLogonEvents | limit 2"
i can get a result from other table : Alerte, Emailsevents, Deviceevents, devicelogon...
but not Identityeventslogs.
if any one can help me,
thanks