共用方式為


ACREntraAuthenticationAuditLog 資料表的查詢

如需在 Azure 入口網站 使用這些查詢的資訊,請參閱Log Analytics教學課程。 如需 REST API,請參閱 查詢

Microsoft Entra 驗證稽核記錄

記錄Microsoft Entra 驗證稽核事件。

source
| project
    TimeGenerated = todatetime(['time']),
    Location = location,
    OperationName = operationName,
    CacheName = tostring(properties.tenant),
    Message = tostring(properties.auditLog.message),
    Authentication = tostring(properties.auditLog.authentication),
    Username = tostring(properties.auditLog.username),
    IpAddress = tostring(properties.auditLog.ipAddress),
    ClientId = tostring(properties.auditLog.clientId),
    ClientName = tostring(properties.auditLog.clientName),
    Lifetime = tostring(properties.auditLog.lifeTime),
    RoleInstance = toint(properties.roleInstance)