Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

who accessed my AX session from another machine

Posted on by 80


Hello,

I have someone who accessed my AX session from another machine. Is there a way in AX that will allow me to know from which machine I was able to access my session?

Best Regards

  • JAMAL HBJ Profile Picture
    JAMAL HBJ 80 on at
    RE: who accessed my AX session from another machine

    Thnaks Amith.

  • Suggested answer
    A.Prasanna Profile Picture
    A.Prasanna 8,163 on at
    RE: who accessed my AX session from another machine

    Logon can be via , Enterprise Portal or the AX client , how ever to login , who ever the person who logged

    have to have your User Name and Password . Like a others expert says , those session details should be there Sysuserlog table , unless its altered or modified. So since you are saying that you cannot find that details from Sysuserlog table only way out is Active Directory.

    If you are not frequently login or Use AX from others PC's then it wont be big task to identify logins from other than your PC's .only thing you need to find your logins then check PC names and Time Frame , which are suspicious and then narrow down.

    if you really need digging in to more information then you need to hire forensic Expert , may be they can extract further data from Active Directory .

    use power-shell script here to get login details from Active directory : www.netwrix.com/how_to_get_user_login_history.html

    Hope this will help,

    Amith Prasanna

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,280 Super User 2024 Season 2 on at
    RE: who accessed my AX session from another machine

    This information is not stored as per my experience. If you now insists to know which client host did use your credentials, it would be a hard task for a system administrator to review the Windows event logs.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: who accessed my AX session from another machine

    I don't think that this info is stored anywhere in standard AX. But you should be able to write a simple customization that would store this additional info in the SysUserLog table. Of course you can't get information from past logins anymore but it would be there for the future ones.

  • Divya Lakshmi Profile Picture
    Divya Lakshmi 745 on at
    RE: who accessed my AX session from another machine

    Hi,

    Please debug into the method GetEnvironmentVariable and check for whatever the information you required.

    Regards,

    Divya Lakshmi J

  • JAMAL HBJ Profile Picture
    JAMAL HBJ 80 on at
    RE: who accessed my AX session from another machine

    Hello, after the execution of the code, the name I was looking for was displayed in second position as # ClientName #.

    this name is stored in an AX table? I only need the name of this table to solve my problem.

  • Suggested answer
    Divya Lakshmi Profile Picture
    Divya Lakshmi 745 on at
    RE: who accessed my AX session from another machine

    Hi,

    Hope this hint may help you in any way

    I can help you to get the computer Name of your (Remote) Machine in AX2012.

    But, You need to further analyze and modify this code to get the information for your required date criteria.

    Here is the code.

    static void GetClientNames(Args _args)

    {

       #define.CLIENTNAME("CLIENTNAME")

       // TS Host

       info(xGlobal::computerName());

       // Client

       info(System.Environment::GetEnvironmentVariable(#CLIENTNAME));

    }

    Regards,

    Divya Lakshmi

  • JAMAL HBJ Profile Picture
    JAMAL HBJ 80 on at
    RE: who accessed my AX session from another machine

    Thanks a lot.

  • Guy Terry Profile Picture
    Guy Terry 28,621 Super User 2024 Season 2 on at
    RE: who accessed my AX session from another machine

    AX can only tell you the name of the computer on which the AX client is installed. If I was using Remote Desktop, and wanted to question this logon:

    UserLog.jpg

    the question to ask is 'Someone was logged on to SERVER01 at this time, and opened an AX session in my name. Can you find out who that might have been, or where they were logged in from?'. And that question would have to be directed at an Administrator of SERVER01.

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: who accessed my AX session from another machine

    Guy has a good point here.

    So, if indeed the AX client is launched via RemoteApp or Remote Desktop, this means that in the user log you will see the RemoteApp server / Remote Desktop server in the Computer name. Because that's the computer where the AX client session is running. Also your ideas about capturing PC serial numbers and Windows version when AX client is installed would of course capture the PC serial number and Windows version of the remote server.

    AX doesn't know how the user ended up on that computer. It's something that happens completely outside AX. As suggested earlier, IT administrators can log user logins on computers, so they would definetely be able to log from which computers users are launching Remote Desktop or RemoteApp sessions.

    And most imporant: don't share your personal credentials with others! If the credentials are not personal, are they used to bypass AX license terms (by having multiple users using the same account)? Hopefully that's not the case.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans