Setup Audit Trail API not logging Login-As login event
Last updated 2019-04-08 ·Reference W-2770023 ·Reported By 36 users
Setup Audit Trail API not logging Login-As login event, only Login-As logout event
1. In demo production org (GS0), login and logout as a user
2. View setup audit trail and note both login and logout events
3. Query in API using workbench: SELECT Action,CreatedById,CreatedDate,DelegateUser,Display,Id,Section FROM SetupAuditTrail WHERE DelegateUser != null ORDER BY CreatedDate DESC NULLS FIRST
4. Login events aren't captured, only logout.
Expected behavior, login events also captured
To gather complete login as and setup audit trail data download the Setup Audit Trail via the Salesforce UI instead of API.
Reported By (36)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.