A user can’t log into AX. After looking at online users (System Administrator > Users > Online Users), you will see a user with status “Ending – Blocked”. This is because AX locks the user session when there was a problem in processing the transaction
1> On the User Online screen we can see which userID and which session has status is Ending –Block
2> Go to the SQL server, look into SYSCLIENTSESSIONS table to see all user sessions.
SELECT TOP (200) SESSIONID, SERVERID, VERSION, LOGINDATETIME, LOGINDATETIMETZID, STATUS, USERID, SID, USERLANGUAGE, HELPLANGUAGE,
CLIENTTYPE, SESSIONTYPE, CLIENTCOMPUTER, DATAPARTITION, RECVERSION, RECID
WHERE (USERID = ‘Admin’)
3> Delete exactly the line with USERID and SESSIONID of that user